Click to See Complete Forum and Search --> : visual studio .NET class Wizard "Object Required" Error


skurge
August 2nd, 2004, 11:06 AM
hello, I tried adding a class to my project (vc .net 2002). I am now getting the object required error message. It will not allow me to add dialogs through the class wizard. What is going on?

Tischnoetentoet
August 2nd, 2004, 11:47 AM
Just add a dialog with resource editor, and then rightmouseclick on the dialog -> Add Class

Then it should work

Andreas Masur
August 2nd, 2004, 12:05 PM
[ Moved thread ]

skurge
August 2nd, 2004, 12:24 PM
I understand how to add the class. The problem is as stated.
Here is the break down:

1. create a propertypage with various controls
2. right click in class view to bring up the "add class" dialog.
3. fill in the dialog.
4. when I click finish, the dialog errors out and says "object required" and the classes ARE NOT GENERATED.

So, the problem is add wizard gives me "object required" error. All the information is filled out correctly, the errors occurrs after I click the finish button.

generalad
September 1st, 2004, 05:06 PM
I do have the same problem with .NET 2003 and also Visual C++ .NET 2002.

Maybe some system-dependent problem?

My system is an Athlon 3000xp, 512 ram running on Windows XP Pro.