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!

Shutting Down an External Application

Status
Not open for further replies.

BanditLV

Programmer
Oct 17, 2000
50
US
I have a system working on a network that is utilizing digital cameras for Internet interaction.... We are utilizing three different camera programs on three different servers to allow use of a camera program should one of the servers fail...

When the end-user system is booted up, one of the camera programs automatically loads...

What I would like to do is create a form (or even a switchboard) that allows to switch from one program to another... However, I need to close one of the external programs with the Button.OnClick... I tried the AppActivate and SendKeys (using AltFX) however, this does not seem to work... Does anyone else have any suggestions on how to close an external application from Access 97/2000?

Thanks in advance,

Roy (aka BanditLV)
Las Vegas
 
If you first "Shell" to it then you should be able to control it. Look in Help for "Shell" command
There is a great example the opens the Windows Calculator, then adds some numbers, then closes it.

Also "Alt-F4" is the defacto "Close" for any Windows program.

DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top