DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   COMException error, class not registered (http://www.daniweb.com/forums/thread27727.html)

atv161 Jul 8th, 2005 5:07 pm
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.

senthilavs Nov 2nd, 2006 8:56 am
Re: COMException error, class not registered
 
Hi,

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

Regards,
Senthil V.


Quote:

Originally Posted by atv161 (Post 139638)
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.


waynespangler Nov 2nd, 2006 9:26 am
Re: COMException error, class not registered
 
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.

bubz Apr 24th, 2007 6:27 am
Re: COMException error, class not registered
 
Quote:

Originally Posted by senthilavs (Post 271149)
Hi,

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

Regards,
Senthil V.

senthil,

bubz Apr 24th, 2007 6:28 am
Re: COMException error, class not registered
 
Quote:

Originally Posted by senthilavs (Post 271149)
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 Apr 24th, 2007 6:37 am
Re: COMException error, class not registered
 
Quote:

Originally Posted by senthilavs (Post 271149)
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.

mehrsp Jul 31st, 2009 12:58 pm
Re: COMException error, class not registered
 
Quote:

Originally Posted by bubz (Post 351381)
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:)

rahuldevk Oct 28th, 2009 4:10 am
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.


All times are GMT -4. The time now is 1:49 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC