?
Solved

Running External Programs

Posted on 1999-11-12
5
Medium Priority
?
203 Views
Last Modified: 2010-04-27
I have just recently started using VB5 and would like to create an application to start programs such as 'WINZIP' by a button or icon interface and I was wondering how you would call an external program using a button/Icon.

Thanks
Steve
0
Comment
Question by:Keeper
  • 4
5 Comments
 

Author Comment

by:Keeper
ID: 2204685
Adjusted points to 75
0
 
LVL 2

Expert Comment

by:ggilman
ID: 2204707
If you just want to start some external app, use "shell". The inputs to shell are program name and window mode. such as: shell("c:\windows\notepad.exe",vbMinimized)
0
 
LVL 2

Expert Comment

by:ggilman
ID: 2204715
If you want your app to wait for the executed program to finish, look here for ExecCmd:

http://support.microsoft.com/support/kb/articles/q129/7/96.asp
0
 
LVL 2

Accepted Solution

by:
ggilman earned 140 total points
ID: 2204722
Finally, if you want to open an application based on a file association, look here:
http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10170132 

It will cost you 15 points but if you need this part, it works.
0
 
LVL 2

Expert Comment

by:ggilman
ID: 2218936
Keeper, u still there?
0

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question