Click to See Complete Forum and Search --> : VS7 crashes when adding variables


JezzerP
March 24th, 2003, 11:18 AM
Not sure if this is the best forum (mods feel free to move if you think I'd get more response in a different forum;) )

Anyway, here's the issue. Have recently started work on a project that was originally developed in C++ with VS6. The project is quite large (some 300 odd classes), and has recently been ported to VS7 to continue development. I am adding new functionality to the software. Problem is that VS7 crashes when I try to add a member variable to a control on a dialog. A black console screen pops up briefly and VS tells me that it's very sorry but it has to shut down now. Similar crashes occur when I try to add an event handler to a menu item. At first I thought it was just my PC not coping with the large project (it's far from state of the art), but this crash is occurring on other PCs in the office too. The strange thing is that it doesn't happen with other smaller projects. It can't be just us that's experiencing this issue, so any thoughts would be most welcome.

thanks in advance

JezzerP:)

Emilyfish
July 12th, 2004, 01:56 PM
:cry:

Did you ever get an answer to your post? I am experiencing the same problem. When I select "Add Variable...," VC .NET 2003 pops up an error dialog entitled "Internet Explorer Script Error" with an error that reads:

Line: 480
Char: 4
Error: Invalid procedure call or argument
Code: 0
URL: file://C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\VCWizards\MemVariableWiz\HTML\1033\default.htm

Then, it politely asks:
Do you want to continue running scripts on this page? Yes No

This is very irritating. I miss VC++ 6.0! If you have found a solution to this problem, could you please post it?

Thanks very much...

Muru
December 8th, 2004, 01:06 AM
I also had similar problem. I solved the problem by doing the followings:

1. Close the application.
2. Make sure C++ header & source file, where you add the new variable is writable.
3. Delete *.ncb file in your project directory. It will be created automatically, when you reopen the application.
4. Delete *.suo file in your project directory. It will be created automatically, when you reopen the application.
5. Reopen the application

Hopefully your problem will be solved.

Regards,
Muru

JezzerP
December 8th, 2004, 03:34 AM
All our VS6->VS7 problems were solved by creating a brand new project in VS7 and then adding all the .cpp, .h and resources files to it.....the automatic update just did not work for us!! We have now of course moved to VS2003....but that went quite smootly!!

JezzerP