-
I just started learning VB and I'm trying to create a "table of contents" on a cd. I have a few programs that will be copied onto the CD and I will have an autorun to the VB app. The VB app is just a simple page with a few pictures that when clicked, would start the setup.exe of the appropriate program. I cannot figure out how to do this. I have the page with the pictures set. I just need to know what to put in for programming.
Thanks.
-
Private Sub Command1_Click
Shell app.path & "\progs\myprog.exe"
End
End Sub
This code will run the app and end the loader.
-
To do an autorun you must have autorun.inf with something like this:
[autorun]
open=loader.exe
icon=myico.ico
The ICON field is the icon that will be displayed on my computer for the CD-ROM drive.