Click to See Complete Forum and Search --> : Application Construction - Newbie
Sllohcin
Mar 18th, 2001, 03:53 PM
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.
Sastraxi
Mar 18th, 2001, 04:15 PM
Private Sub Command1_Click
Shell app.path & "\progs\myprog.exe"
End
End Sub
This code will run the app and end the loader.
Sastraxi
Mar 18th, 2001, 04:17 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.