PDA

Click to See Complete Forum and Search --> : Closing exe


WadeD
Jan 27th, 2000, 09:52 PM
Hi, in Win95, how can I close an exe that runs in the background but doesn't have a window? Without a window to invoke, I can't find the class or handle. The app that I want to close is antivirus so that I can copy new files over.

Thanks,
Wade

OneSource
Jan 27th, 2000, 10:17 PM
Hi Wayne,

Does your App appear in the list when you press Ctrl-Alt-Delete? If so, you should be able to close it that way.

All the best.

------------------
OneSource
The truth may be out there, but it's in here too!.

WadeD
Jan 27th, 2000, 10:20 PM
The external app that I want to close is in the Ctrl-Alt-Delete list, but it doesn't have a window. How can I close it through vb?

Thanks,
Wade

WadeD
Jan 28th, 2000, 01:02 AM
Anyone out there? :)

Jan 28th, 2000, 01:12 AM
im assuming that your using a module to do all the stuff from. cant you just out "End" in the code at an appropriate juncture?

Check out my brand new WebPage, devoted to VB: www.dreamwater.com/tech/wossname/ (http://www.dreamwater.com/tech/wossname/)

------------------

Wossname,
Email me: wossnamex@talk21.com :)

WadeD
Jan 28th, 2000, 01:15 AM
The app is external to mine...it's not mine..it's an antivirus program that I need to close so I can copy new files.
If it had a window, I could grab its handle and close it, but it only shows up in the Ctrl-Alt-Delete list. :(

Thanks,
Wade

[This message has been edited by WadeD (edited 01-28-2000).]

WadeD
Jan 28th, 2000, 11:40 AM
Has anyone used the FindExecutable API? It's supposed to return the handle of an executable, but I'm getting the same value each time. Or maybe there's another way of closing an exe that doesn't have a window.

Thanks in advance,
Wade