Solved

Right Click Problem

Posted on 2014-04-04
4
287 Views
Last Modified: 2014-04-10
I have a vb 2008 application that has uses several context menu on right click.  When I exit the program, then whenever I right click on anything, I usually get an error message that Windows Explorer is restarting.  This happens everytime when exiting the program and is only solved by restarting the computer.  The application is shutting down properly or at least it disappears from the Task Manager.  I am convinced it has something to do with the context menu code.  Anyone with ideas?
0
Comment
Question by:GCCal
  • 3
4 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39978927
Did you add context menus using the packaged ContextMenu control, or did you use the Win API to register your own? If you used the former, then it would be odd that those controls would cause such an issue.
0
 

Author Comment

by:GCCal
ID: 39978929
Yes, kaufmed......I used the control that comes in the vb.net toolbox.  I agree it seems odd but since the problem is with right click I assumed that was the case.  Is there some chance that the code I am using is somehow, someway causing the problem?

Going to lunch right now so will be away for awhile.  Tks,
0
 

Accepted Solution

by:
GCCal earned 0 total points
ID: 39980009
I finally wound up creating my own context menus using a groupbox.  Seems the problem of right click causing Windows Explorer to restart has disappeared.  Some problem with either how I was using the context menus or the code was being created.  Thanks....this question is now closed.
0
 

Author Closing Comment

by:GCCal
ID: 39991106
No solutions were offered.  The question probably covered a very broad spectrum which made it difficult for anyone to respond.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

932 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

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now