- Feb 18, 2001
- 30,990
- 5
- 81
Doesn't get much stupider than this. I am making a quick program that is turning out to be harder than I thought. I have not done any VB programming in about 4 years, so whatever I knoew flew out of my head. here is the deal:
7 check boxes.
2 buttons. one for login, one for exit.
each check box is for an external program that I want to open. (execute or run are probably better words) so when I click on the login button, it opens the external programs that are checked.
I know how to code for the checkbox: if checkbox1.value = 1 then (open the damn file). repeat 7 times under action = click for the login button.)
I just don't know the correct verbage to open the files.
For instance, one of these is a shortcut to Internet Explorer. (internet explorer.lnk) all I have to do in a batch file is "start internet explorer.lnk" and it will start. I have a batch file already made that will open all 7, but I would prefer they be selectable which is why I am writing this VB program.
If somoene could point me to a code library that would probably work too. This is for VB 5 prof. (the only VB I have licence for. )
Thanks!
7 check boxes.
2 buttons. one for login, one for exit.
each check box is for an external program that I want to open. (execute or run are probably better words) so when I click on the login button, it opens the external programs that are checked.
I know how to code for the checkbox: if checkbox1.value = 1 then (open the damn file). repeat 7 times under action = click for the login button.)
I just don't know the correct verbage to open the files.
For instance, one of these is a shortcut to Internet Explorer. (internet explorer.lnk) all I have to do in a batch file is "start internet explorer.lnk" and it will start. I have a batch file already made that will open all 7, but I would prefer they be selectable which is why I am writing this VB program.
If somoene could point me to a code library that would probably work too. This is for VB 5 prof. (the only VB I have licence for. )
Thanks!