Solved

Right Click Problem

Posted on 2014-04-04
4
288 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

770 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