i'm developing a vb6 form that can be something like a reader , that read different databases .... anyway i used Common Dialog to select what database i would like to open ,but my problem is that even though i select a database i only get the one i have in a module
this is the browse button code :
Expand|Select|Wrap|Line Numbers
- Private Sub Command1_Click() 'dialog botton
- CommonDialog1.ShowOpen
- 'CommonDialog1.Filter = "*.txt|Text Files|*.*|All Files"
- 'MsgBox "You have choose" & CommonDialog1.FileName
- liaison 'this is a module
- Do Until rstest.EOF
- Me.Combo1.AddItem rstest.Fields(0)
- rstest.MoveNext
- Loop
- End Sub
so here is what i want to do :
when i click in browse button i select a database .when i click browse button again i select different database etc .....
this is a very important problem for me that i need to be solved ... if you didn't understand what i want to say i be more happy to explain more ...
is this possible ??