Valhalla Legends Archive

Programming => General Programming => .NET Platform => Topic started by: Mitosis on June 18, 2004, 05:54 AM

Title: Er, compiler problem
Post by: Mitosis on June 18, 2004, 05:54 AM
Alrright, I am running Visual Studio.Net. When I go to make a new project in Visual Basic, a Windows Application to be specific, I get this error and then there is no form 1.

(http://server6.uploadit.org/files/mitosis-classproblem.JPG)

I never have had this problem before, so I am confused on what is going on. Any help will be appreciated.
Title: Re:Er, compiler problem
Post by: MyndFyre on June 18, 2004, 07:14 PM
Are you using a COM interop component?  ClassFactory only typically comes into play when COM is trying to instantiate a new object via an interface reference.

What's listed in your References list?

Have you tried reinstalling Visual Studio?
Title: Re:Er, compiler problem
Post by: Mitosis on June 18, 2004, 07:39 PM
Arg I havent because I don't have a clue of what was going on. Ill reinstall now and see if that works.

[edit] I reinstalled and it still does the same thing, god damnit! [/edit]
Title: Re:Er, compiler problem
Post by: MyndFyre on June 19, 2004, 04:05 AM
Is this problem occurring solely with Visual Basic?  Do you have the other .NET languages (Visual C#, Visual C++, Visual J#) available?  Can you add new forms or classes to the project?  Can you download and install Visual J# (if you don't have it) from the MSDN website?  Have you done an MSKB search for "ClassFactory cannot supply class Visual Studio 7"?
Title: Re:Er, compiler problem
Post by: Mitosis on June 19, 2004, 06:09 AM
Well I tried  J#, C#, C++ and they get the same problem too. I searched for ClassFactory cannot supply class Visual Studio 7 on MSDN and there was no success.
Title: Re:Er, compiler problem
Post by: Lobo on June 19, 2004, 06:45 AM
I searched google, this is something it came up with http://www.code101.com/Code101/DisplayArticle.aspx?cid=51 (http://www.code101.com/Code101/DisplayArticle.aspx?cid=51)

Hope that helps.
Title: Re:Er, compiler problem
Post by: Mitosis on June 19, 2004, 07:07 AM
Dude, thanks a ton man. It works perfectly now. I have that same file in my documents, maybe I installed an older version. Anyways thanks so much.
Title: Re:Er, compiler problem
Post by: Lobo on June 19, 2004, 01:03 PM
No problem, glad you got it working.