Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-26-2005, 04:27 PM   #1 (permalink)
 
True Techie

Join Date: Mar 2005

Posts: 229

psman

Send a message via Yahoo to psman
Default Opening An EXE in VB

Hello

Does any one know a way load an external .exe from the VB code



Thanks
__________________
You... Went Beyond
You lost it all.
Why did you go there
psman is offline  
Old 06-01-2005, 02:53 PM   #2 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 45

Babbage

Default

What version of VB are you using?
Babbage is offline  
Old 06-02-2005, 05:00 AM   #3 (permalink)
 
True Techie

Join Date: Mar 2005

Posts: 229

psman

Send a message via Yahoo to psman
Default

VB 6
__________________
You... Went Beyond
You lost it all.
Why did you go there
psman is offline  
Old 06-02-2005, 05:04 AM   #4 (permalink)
 
True Techie

Join Date: Mar 2005

Posts: 229

psman

Send a message via Yahoo to psman
Default

I found the shell command but its bit strange some applications opened with it just get stuck
__________________
You... Went Beyond
You lost it all.
Why did you go there
psman is offline  
Old 06-02-2005, 08:55 AM   #5 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 45

Babbage

Default

Thats cool.

For VB6, you might want to look into the ShellExecute command. I think that one works a little better than the Shell command. You can find out about all the parameters and Constants here:

http://www.mentalis.org/apilist/ShellExecute.shtml

They go into pretty good detail as well as giving an example of how to use it.
Babbage is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On