bert aalders
Member
- Joined
- Mar 4, 2011
- Messages
- 16
- Programming Experience
- Beginner
i am new and trying to learn vb, i always used Delphi
I have the next problem.
i have a txt file filled with locations of databases.
database_a = c:\dba
database_b = c:\dbb
databace_c = c:\dbc
i read the data into the combobox but only the name can be visible
Dim objStreamReader As New StreamReader(Testmap & "\test.txt")
Do While objStreamReader.Peek <> -1
databasekeuze.Items.Add((objStreamReader.ReadLine()).Split("=")(0))
Loop
objStreamReader.Close()
after selecting the correct database in need the location
selecting databaseb, should give me the correct possition in this case c:\dbb
how do i do this or am i starting wrong
newby
I have the next problem.
i have a txt file filled with locations of databases.
database_a = c:\dba
database_b = c:\dbb
databace_c = c:\dbc
i read the data into the combobox but only the name can be visible
Dim objStreamReader As New StreamReader(Testmap & "\test.txt")
Do While objStreamReader.Peek <> -1
databasekeuze.Items.Add((objStreamReader.ReadLine()).Split("=")(0))
Loop
objStreamReader.Close()
after selecting the correct database in need the location
selecting databaseb, should give me the correct possition in this case c:\dbb
how do i do this or am i starting wrong
newby