944,008 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 32482
  • VB.NET RSS
Jul 8th, 2005
0

COMException error, class not registered

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atv161 is offline Offline
8 posts
since Feb 2005
Nov 2nd, 2006
0

Re: COMException error, class not registered

Hi,

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

Regards,
Senthil V.


Click to Expand / Collapse  Quote originally posted by atv161 ...
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
senthilavs is offline Offline
1 posts
since Nov 2006
Nov 2nd, 2006
0

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.
Reputation Points: 84
Solved Threads: 58
Posting Pro in Training
waynespangler is offline Offline
461 posts
since Dec 2002
Apr 24th, 2007
0

Re: COMException error, class not registered

Click to Expand / Collapse  Quote originally posted by senthilavs ...
Hi,

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

Regards,
Senthil V.
senthil,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bubz is offline Offline
3 posts
since Apr 2007
Apr 24th, 2007
0

Re: COMException error, class not registered

Click to Expand / Collapse  Quote originally posted by senthilavs ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bubz is offline Offline
3 posts
since Apr 2007
Apr 24th, 2007
0

Re: COMException error, class not registered

Click to Expand / Collapse  Quote originally posted by senthilavs ...
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bubz is offline Offline
3 posts
since Apr 2007
Jul 31st, 2009
0

Re: COMException error, class not registered

Click to Expand / Collapse  Quote originally posted by bubz ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mehrsp is offline Offline
1 posts
since Jul 2009
Oct 28th, 2009
0
Re: COMException error, class not registered
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rahuldevk is offline Offline
1 posts
since Oct 2009
Apr 9th, 2010
0

Error : class is not registered COM

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
puneet jayee is offline Offline
1 posts
since Apr 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: How to get values at Button_Click event from seperate class?
Next Thread in VB.NET Forum Timeline: Screen Position





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC