Results 1 to 3 of 3

Thread: Opening Files on Click of Button...

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Posts
    33

    Post

    Hey people,

    Im creating a little program that basically runs from a cd {autoruns when cd is loaded) and I would like the user to click on the Button to Install or Run the Program, but I cant figure out which to do and how. if anyone could direct me to the correct code, or show me.
    Mainly I would like the Code coming from the button so when clicked it opens and runs the program.

    ThaNKS

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    You just want to run (shell) an application?
    Code:
    Private Sub Command1_Click()
    Shell "MYFILE.EXE", vbNormalFocus
    End Sub
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2000
    Posts
    33

    Talking Geez

    Ah.. How did I miss that...Err

    Thanks

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