|
-
Mar 6th, 2006, 02:32 AM
#1
Thread Starter
Hyperactive Member
close other applications from my code
How can I close another application from my code if I know the caption on the titlebar.
DOK OCK : "The power of .net in the palm of my hand, nothing will stand in my way. Nothing." 
-
Mar 6th, 2006, 02:35 AM
#2
Lively Member
Re: close other applications from my code
I will have to find the code I wrote for doing this - it can be done, you just have to get the handle of the window that you want to close and then find what process owns it - then it is as simple as finding the process ID and killing it.
I will post a solution to this as soon as I dig it out of my code archive
-
Mar 6th, 2006, 02:41 AM
#3
Frenzied Member
Re: close other applications from my code
try to look at this thread
On error goto Trap
Trap:
in case of emergency, drop the case...
****************************************
If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option. if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|