Results 1 to 40 of 43

Thread: [EDITED - New Errors] Help needed for Project!!

Threaded View

  1. #1

    Thread Starter
    Lively Member FiOh's Avatar
    Join Date
    Sep 2006
    Location
    Another World
    Posts
    104

    Exclamation [EDITED - New Errors] Help needed for Project!!

    Hi there,
    I'm new to VB but needs to write a program with VB for my project.

    My project is to write an application that will check if it's being run on a valid user by reading the PC Name. Next it will allow valid user to select the folder to map to. Drive to map will be W:, X: and Y:, folder to map to will be \\netapp\xxx (got a list of different sub-folders in netapp server to be map to). It also allows valid user to select the 'CustomerCode' and Program to Launch'.

    I am using combo for user to select the items in mapping server, customer code, device type and tester platform. But the problem is everything (the date) is store in a text (.txt) file. And i am supposed to get the data from the text file and put it into the different combos as the items accordingly.
    If the folder have already been mapped before, it should un-map it first then allow user to map again. When user close the application, the application should unmap whichever folder the user has mapped earlier.


    I am not supposed to hardcode the network to map in the program, need to read the server to map from the config.txt file. This program is not supposed to hardcode anything in it. All data are to be read from the same config.txt file. So that when there is a need to modify the program, we only need to modify the data in the config.txt file instead of going to the VB project and change the codings in the application.

    Edited Part:
    Now that i have most of the problems solved, but i need to modify this program so that i can have a complete workable program.

    Here's the question:

    1) How to apply the same technique used on the cboCusCode combo (retrieve the customer code from .txt file) on the cboMapServer as well as on the cboProgram combos?

    This is because we realised that when we choose CusCode 'SM4', the program to launch will only be 'STMP35XX_FT' and its being repeated 3 times. The correct programs selection in the cboProgram when user select the 'SM4' of the customer code should be 'STMP35XX_FT', 'STMP35XX_WS' & 'NON_STMP35XX_FT'.

    2) How do i hide (don't show) the cboProgram and lblProgram (the Program to Launch label and the combo to select item in it.) and disable the cboMapServer (Server to map combo) and cboCusCode (Customer Code) when the program is being run on a invalid platform (from pc name)?

    I have attached the Program Coding in a .doc file, the configfile.txt and Interface of the Program on a valid tester as well as on invalid tester (Images).

    - NPL_Interface.JPG (On Valid Tester)
    - NPL_Interface2.JPG (On Invalid Tester)
    - ProgramCodign.doc (Word Document)
    Attached Images Attached Images   
    Attached Files Attached Files
    Last edited by FiOh; Oct 15th, 2006 at 08:07 PM. Reason: New Errors occur
    || ~ * FiOh * ~ ||

    Different personality n character... alone,
    difficult to understand n mysterious,
    for I am... Princess Cindistine @ Another World.
    You should know...
    P.C - R.N.A.F. Yeah, that is ME...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width