|
-
July 5th, 2001, 10:12 PM
#1
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
-
July 9th, 2001, 03:30 PM
#2
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...
-
July 9th, 2001, 08:08 PM
#3
thanks, that's what I needed to know!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks