Visual Basic 6.3 Help

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!
Comments
14
lol you talking station to me :<
sry, only know assembly and c :O)
Dim StrFolder as String
StrFolder = Combobox1.text
Shell("Explorer.exe C:\" & strFolder )

?
you nailed it
changed it a bit though, coz with the strfolder it just doubled it ^^

thx <3
Parent
fakeaccounts all around, and 9 of 10 are dutchies, /get life
Parent
ithrewabeercanatyoubutfailed

can't help you gl.

Btw,
in flames 9 october
dark tranquillity 26 october
moet je wel naar hem toe lopen hé en niet sneaky glazen gooien;p
Parent
sure, but viax lost his lens. So we had to search for that.
Parent
Visual Basic :(
Hf with your braindamage.
I'm not a programmer, I'm just writing a simple archivesystem for @ my job, because their current way of working is really chaotic :)

I already created a nice tree-hierarchy about the way everything should be filed, now I just need to build a program around it.
Parent
Ok.. You have been warned though! òÓ
Parent
wat doe je slim
Parent
Back to top