[RESOLVED] launching external program from VB
Results 1 to 3 of 3

Thread: [RESOLVED] launching external program from VB

  1. #1
    ibennetch
    Guest

    Post launching external program from VB

    I'm in visual basic, and I need a command button to start an external program. It isn't anything fancy, the sort of thing where the "click here to start solitare" button runs C:\windows\sol.exe - is this possible? how is it done? looked around but couldn't find any resources that mentioned this. thanks a ton

  2. #2
    Registered User
    Join Date
    Jun 2001
    Location
    England
    Posts
    48

    Post

    One way to do it is to use:

    Shell pathToExecutable

    where pathToExecutable in your case would be "c:\windows\sol.exe".

    Therefore your line would look like this:

    Shell "c:\windows\sol.exe"

    Hope this helps...

  3. #3
    ibennetch
    Guest

    Post

    thanks, that's what I needed to know!

Bookmarks

Posting Permissions

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