Results 1 to 3 of 3

Thread: Application Construction - Newbie

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    1

    Post

    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.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Private Sub Command1_Click
    Shell app.path & "\progs\myprog.exe"
    End
    End Sub

    This code will run the app and end the loader.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    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.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width