Dear All

[IMG]http://forums.microsoft.com/MSDN//emoticons/emotion-6.gif[/IMG] I have very bad bug in my program as it's run fine on windows 2000 but can't run on windows xp


I try to run my coding, the system will produce Error.ie)
"unhandled exception of type System.Runtime.InteropServices.COMException occurred in system.windows.forms.dll
Additional information: Class not registered"

with green background on this line --> this.ResumeLayout(false);
whcih is one of windows form designer generated codes

any one could help me please.
thanks in advance

Suresh shanmugam

Dear All

[IMG]http://forums.microsoft.com/MSDN//emoticons/emotion-6.gif[/IMG] I have very bad bug in my program as it's run fine on windows 2000 but can't run on windows xp


I try to run my coding, the system will produce Error.ie)
"unhandled exception of type System.Runtime.InteropServices.COMException occurred in system.windows.forms.dll
Additional information: Class not registered"

with green background on this line --> this.ResumeLayout(false);
whcih is one of windows form designer generated codes

any one could help me please.
thanks in advance

Suresh shanmugam

sounds like you are trying to reference something that is not installed on the xp machine.

not quite sure though. toss in some break points and compile it, watch for what is actually happening and use a try/catch satement to see if you can get more error information.

Hi,
I solved this problem by "caspol.exe -s off" command.
Ramana

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.