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 Y: and U:, 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', 'DeviceType' and 'Tester Platform'.
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.
For example, the data in the config.txt are as follows:
Drive letter = Y|U
Mapping Server = netapp
Customer Code = BC1|CT8|TW3|SM4|SY1|XM1|AK1|SN2|SE2|SM1
BC1=ProductionUI
CT8=ProductionUI
TW3=ProductionUI
SM4=STMP35XX_FT|STMP35XX_WS|NON_STMP35XX_FT
SY1=ProductionUI
XM1=IG-XL_3.40.10_FT
AK1=ProductionUI
SN2=ProductionUI
SE2=ProductionUI
SM1=ProductionUI
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. I am given 5 days (including today, due date on 26th sept) to complete this project...
How am i suppose to do this hard project as a VB idiot?
Anyone pls help!!
T-T