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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to ... In Visual Basic

Status
Not open for further replies.

Danielvb

Programmer
Oct 8, 2002
34
US
Hello Team

Please I need help.
-- I have an application that was installed from a deployment package.

-- the deployment Package create a Directory in the following path C:\Sales containing the executables and other files

-- In the c:\Sales path there is an executable named sales.exe

-- I would like to write another program named MainArea.exe

-- From the MainArea.exe I would like to lunch the sales.exe by pressing a button. Once the MainArea.exe is open I need to close complete the sales.exe

-- Is there is a way or command to call an executable from another application in Visual Basic 6.0

Please advice. Thanks to all for your time

Daniel
Hollywood, FL
 
Take a look at the shell function or the shellexecute API. A search for these on this forum will give you some examples. Thanks and Good Luck!

zemp
 
Thanks for having the time to reply my email

I really appreciate it

Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top