Visual Basic 6.3 Help
•
23 May 2008, 13:43
•
Journals
I need some help!
I made a form now, with a ComboBox1, some things in the list of that combobox (Assemblage, LSR, etc), and a button OK.
Now I've added this code to the button:
If ComboBox1.Text = "Assemblage" Then
If ComboBox1.Text = "LSR" Then
And a few other things, but yeh, now I wanna know what to put after the expression "Then". I want to open the directory that comes with that option. So for example, when I select Assemblage out of the list, it should open c:/assemblage, just in the way you normally open a directory (with the normal directory loose from the program, not intergrated in the program window itself).
Thanks in advance!
I made a form now, with a ComboBox1, some things in the list of that combobox (Assemblage, LSR, etc), and a button OK.
Now I've added this code to the button:
If ComboBox1.Text = "Assemblage" Then
If ComboBox1.Text = "LSR" Then
And a few other things, but yeh, now I wanna know what to put after the expression "Then". I want to open the directory that comes with that option. So for example, when I select Assemblage out of the list, it should open c:/assemblage, just in the way you normally open a directory (with the normal directory loose from the program, not intergrated in the program window itself).
Thanks in advance!
StrFolder = Combobox1.text
Shell("Explorer.exe C:\" & strFolder )
?
changed it a bit though, coz with the strfolder it just doubled it ^^
thx <3
can't help you gl.
Btw,
in flames 9 october
dark tranquillity 26 october
Hf with your braindamage.
I already created a nice tree-hierarchy about the way everything should be filed, now I just need to build a program around it.