Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

End Explorer.exe

Posted on 2006-06-30
7
Medium Priority
?
306 Views
Last Modified: 2010-07-27
I need to be able to automatically temporarily end the explorer.exe system process at the click of a command button.
0
Comment
Question by:Sid_The_Kid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 5

Expert Comment

by:lunchbyte
ID: 17020615
Download the demp program and you can see how it is done. If you like what this can do then copy the codes that you need.

http://freevbcode.com/ShowCode.ASP?SearchString=kill%20process&ID=5543

0
 
LVL 9

Assisted Solution

by:justchat_1
justchat_1 earned 200 total points
ID: 17021547
thats overkill...try this:
http://www.vb-helper.com/howto_terminate_process.html

Just terminate explorer.exe
0
 
LVL 9

Expert Comment

by:justchat_1
ID: 17021550
If thats not what you had in mind here is a similar question:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20231530.html
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Accepted Solution

by:
kaliyugkaarjun earned 600 total points
ID: 17022658
0
 
LVL 2

Author Comment

by:Sid_The_Kid
ID: 17022725
justchat_1, when I tried your first comment (which was a great example), it seemed to close windows based on their captions, instead of their exe names. Of course, explorer.exe does not have a real form, and therefore does have a caption. However, when I tired terminating a folder, explorer.exe shut down for about a second, and then started up again. The same thing happens with lunchbyte app.

kaliyugkaarjun, great link. I was fairly pissed when I didn't see your post while I was typing my response to previous comments, and then I decided to chk out your answer before posting, and then the program caused my ie window closed and I lost my response I just finished typing!! But I simply changed that if statement by adding a not and it closed explorer.exe, but as usual it only lasted for about one second before it boots up again. I have yet to see whether this is enough time for my program to do what it needs to do. If not, I will need to find a way to keep it closed before I can award points. So far kaliyugkaarjun researched way seems to be most reliable and easy to use.
0
 
LVL 9

Expert Comment

by:justchat_1
ID: 17023964
Explorer.exe automatically restarts in XP as part of a crash recovery feature...
0
 
LVL 2

Author Comment

by:Sid_The_Kid
ID: 17024224
Thats OK, I found a way for my program to work anyway --> It restarts the computer. Thanks everyone.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

610 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