VB.NET Context Menu: Crashing IDE (??)

saripar

New member
Joined
Jan 28, 2005
Messages
3
Programming Experience
1-3
Hello,

I am involved in migrating a VB 6.0 application to VB.NET.

I used the upgrade wizard to migrate the VB code. Then I created a new project and am importing the migrated files one at a time, to make sure I don't miss anything.

The main form in the VB app had a number of context menus. Although the upgrade wizard upgraded this code, I realized that I might have to re-create and re-code the context menus (since context menus are different than main menus, in VB.NET).

I am in the process of doing the same. However I have found that the .NET IDE crashes with a NullReferenceException or sometimes a SEHException. This happens sometimes when I switch between the code and the design window or sometimes when I am closing this project to open another project. The error message msgbox pops up some number of times and the IDE is closed.

I am suspecting the addition of context menus and their code to be the problem.

Anybody experience the same problem or have an idea as to why this might be happening?

Any help will be appreciated. I can post the code or give more information if you need details.

TIA.

--------------------------------
From: Sarika
 
Top Bottom