Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running an external .exe from VB

Status
Not open for further replies.

bangalibhai

Programmer
Oct 22, 2002
26
US
Hi,

Is there a way to run an external application (.exe or .app) from VB6?

Thanks.
 
Yes, you can use the Shell command:

Shell "c:\program.exe", vbNormalFocus

Hope it helps...
 
Thanks. That's what I was looking for.

Is there a reference book for all VB functions?
 
MSDN

If somethings hard to do, its not worth doing - Homer Simpson
------------------------------------------------------------------------
A General Guide To Excel in VB FAQ222-3383
File Formats Galore @
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top