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

How to kill a process by code from within Access

Status
Not open for further replies.

IceCube

Programmer
Oct 14, 2002
4
NL
I want to kill a process from within access using code.

Can anyone help me?

Any comment/solution would be great.

 
If you're talking about system processes, you might want to look into using some Win32 API functions to get the job done. I could be way off on what you're trying to do, but I'm not sure that you can directly access a system process outside of your own application by any other means.
I could be wrong, but I know that you *can* do it with the Win32 API.
 
If the m/c is an NT one
you can set the application object to nothing ..

and if it is a 2k or Xp m/c
terminateprocess() to kill the instances of the application.

-Jeevs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top