954,119 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

COMException error, class not registered

This is the error I get:

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll
Additional information: Class not registered

And this is the line it points me to:

CType(Me.Comm1, System.ComponentModel.ISupportInitialize).EndInit()


Does anyone know why I would all of a sudden start getting this error?
Does anyone know how to fix this?
I was adding/removing some .dll files from the project in order to find out why another issue wasn't working and I am thinking that could be the issue.

I will continue looking at the .dll files to see if that is the issue.

Please let me know what you think, Thanks.

atv161
Newbie Poster
8 posts since Feb 2005
Reputation Points: 10
Solved Threads: 0
 

Hi,

i also faced same problem. if u got solution for this reply me.

Regards,
Senthil V.


This is the error I get:

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll
Additional information: Class not registered

And this is the line it points me to:

CType(Me.Comm1, System.ComponentModel.ISupportInitialize).EndInit()


Does anyone know why I would all of a sudden start getting this error?
Does anyone know how to fix this?
I was adding/removing some .dll files from the project in order to find out why another issue wasn't working and I am thinking that could be the issue.

I will continue looking at the .dll files to see if that is the issue.

Please let me know what you think, Thanks.

senthilavs
Newbie Poster
1 post since Nov 2006
Reputation Points: 10
Solved Threads: 0
 

If you were removing dll's then you removed the (Com1.dll ?) and it was needed by the program. Whatever, then you will have to re-reference it.

waynespangler
Posting Pro in Training
461 posts since Dec 2002
Reputation Points: 84
Solved Threads: 58
 
Hi, i also faced same problem. if u got solution for this reply me. Regards, Senthil V.



senthil,

bubz
Newbie Poster
3 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 
Hi, i also faced same problem. if u got solution for this reply me. Regards, Senthil V.



senthil,

zup dude, incase you have'nt solve this

bubz
Newbie Poster
3 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 
Hi, i also faced same problem. if u got solution for this reply me. Regards, Senthil V.



dude,
incase you have'nt solve this problem yet. try to follow this steps. 1) copy the DLL or OCX that is having problem to WINDOWS\SYSTEM32\ 2) the go to RUN and type the follwing: regsvr32 <.DLL or .OCX file> and then run/execute you program. enjoy programming dude. God bless.

bubz
Newbie Poster
3 posts since Apr 2007
Reputation Points: 10
Solved Threads: 0
 
dude, incase you have'nt solve this problem yet. try to follow this steps. 1) copy the DLL or OCX that is having problem to WINDOWS\SYSTEM32\ 2) the go to RUN and type the follwing: regsvr32 <.DLL or .OCX file> and then run/execute you program. enjoy programming dude. God bless.

Thank u a milion:)

mehrsp
Newbie Poster
1 post since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

download stdformat.dll from the net. and add refrence to vs2003 project. that will solve ur problem. becasue i m getting same, i add this dll and this worked for me.

rahuldevk
Newbie Poster
1 post since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

Hi,

I have just registered all the dlls which are required for my project then application started running fine.

try to register all the dlls,ocx files of the project using regsvr32

Thanks,
Puneet Jayee

puneet jayee
Newbie Poster
1 post since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You