Context Menu Errors ---> C#

H

Hareth

I created a context menu, linked to notifyicon. (a system tray menu). The
menu pops up when u right click on it, in the system tray. (it works fine)

When I delete some of the menuitems & rebuild the program, which by the way
reports no errors, I get a debug instance. I always get that error, until i
re-create the same menuitem name, in the same location. I have no experience
with debugging, and I dont understand why I would have to debug just b/c I
deleted menuitems from the contextmenu.


In the end i cant delete the menuitems that are in my context menu or else I
get a debug issues.


Waaa?

vb i can easily delete the menuitems, I thought C# is the same.

I am using whidbey so I cant tell if Im doing something wrong in C#, or if
whidbey is buggy. I havent noticed any other issues in whidbey otherwise.
 
N

Nicholas Paldino [.NET/C# MVP]

Hareth,

What do you mean by you get a debug instance? Can you post a small
sample of what you mean?

It might be a bug in whidbey, but at the same time, without knowing
exactly what you are facing, I am reluctant to say it is that just yet.

Also, as a workaround, you might want to consider creating a new context
menu and attaching that to your notification tray.

Hope this helps.
 
H

Hareth

I thinks its a problem w/ whidbey, b/c the issue is random.. I cant give you
a sample b/c it only asks to start the debugger as soon as I run the app. It
doesnt tell me anything else

Nicholas Paldino said:
Hareth,

What do you mean by you get a debug instance? Can you post a small
sample of what you mean?

It might be a bug in whidbey, but at the same time, without knowing
exactly what you are facing, I am reluctant to say it is that just yet.

Also, as a workaround, you might want to consider creating a new
context
menu and attaching that to your notification tray.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hareth said:
I created a context menu, linked to notifyicon. (a system tray menu). The
menu pops up when u right click on it, in the system tray. (it works
fine)

When I delete some of the menuitems & rebuild the program, which by the way
reports no errors, I get a debug instance. I always get that error, until i
re-create the same menuitem name, in the same location. I have no experience
with debugging, and I dont understand why I would have to debug just b/c
I
deleted menuitems from the contextmenu.


In the end i cant delete the menuitems that are in my context menu or
else I
get a debug issues.


Waaa?

vb i can easily delete the menuitems, I thought C# is the same.

I am using whidbey so I cant tell if Im doing something wrong in C#, or
if
whidbey is buggy. I havent noticed any other issues in whidbey otherwise.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top