RSS Forums RSS
Please support our VB.NET advertiser: Programming Forums
Views: 14511 | Replies: 5
Reply
Join Date: Feb 2005
Posts: 8
Reputation: atv161 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
atv161 atv161 is offline Offline
Newbie Poster

COMException error, class not registered

  #1  
Jul 8th, 2005
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2006
Posts: 1
Reputation: senthilavs is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
senthilavs senthilavs is offline Offline
Newbie Poster

Help Re: COMException error, class not registered

  #2  
Nov 2nd, 2006
Hi,

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

Regards,
Senthil V.


Originally Posted by atv161 View 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.
Reply With Quote  
Join Date: Dec 2002
Location: West Virginia
Posts: 411
Reputation: waynespangler is on a distinguished road 
Rep Power: 6
Solved Threads: 45
waynespangler waynespangler is offline Offline
Posting Pro in Training

Re: COMException error, class not registered

  #3  
Nov 2nd, 2006
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.
Reply With Quote  
Join Date: Apr 2007
Posts: 3
Reputation: bubz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bubz bubz is offline Offline
Newbie Poster

Re: COMException error, class not registered

  #4  
Apr 24th, 2007
Originally Posted by senthilavs View Post
Hi,

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

Regards,
Senthil V.


senthil,
Reply With Quote  
Join Date: Apr 2007
Posts: 3
Reputation: bubz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bubz bubz is offline Offline
Newbie Poster

Re: COMException error, class not registered

  #5  
Apr 24th, 2007
Originally Posted by senthilavs View Post
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
Reply With Quote  
Join Date: Apr 2007
Posts: 3
Reputation: bubz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bubz bubz is offline Offline
Newbie Poster

Re: COMException error, class not registered

  #6  
Apr 24th, 2007
Originally Posted by senthilavs View Post
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:19 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC