How can i solve the COMException problem

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2006
Posts: 1
Reputation: sureshshanmugam is an unknown quantity at this point 
Solved Threads: 0
sureshshanmugam sureshshanmugam is offline Offline
Newbie Poster

How can i solve the COMException problem

 
0
  #1
Dec 4th, 2006
Dear All

http://forums.microsoft.com/MSDN//em.../emotion-6.gif 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
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 759
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Solved Threads: 35
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: How can i solve the COMException problem

 
0
  #2
Dec 4th, 2006
Originally Posted by sureshshanmugam View Post
Dear All

http://forums.microsoft.com/MSDN//em.../emotion-6.gif 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.
Dont forget to spread the reputation to those that deserve!
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 14
Reputation: nagramana is an unknown quantity at this point 
Solved Threads: 0
nagramana nagramana is offline Offline
Newbie Poster

Re: How can i solve the COMException problem

 
0
  #3
Dec 11th, 2006
Hi,
I solved this problem by "caspol.exe -s off" command.
Ramana
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC