|
-
Aug 24th, 2006, 12:37 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] [2005] Wierd Problem.
I Run My Application and it gives me this error message. I thought it was the problem of the application's unmanaged code but when i run the same application but an older build, it gives me the same error.
I cant tell what could be the problem.
It highlights my "InitializeComponent()" in the sub New and throws this exception.
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
-
Aug 24th, 2006, 12:39 AM
#2
Re: [2005] Wierd Problem.
Are you using any ActiveX controls or COM components? Are you using any references outside the standard Framework?
-
Aug 24th, 2006, 12:41 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Wierd Problem.
I have now checked the Enable unmanaged code for debugging and it does the samething and throws this exception.
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in System.Windows.Forms.dll
Additional information: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
-
Aug 24th, 2006, 12:42 AM
#4
Thread Starter
Hyperactive Member
Re: [2005] Wierd Problem.
Yes JMC i am using an activeX control.
-
Aug 24th, 2006, 12:53 AM
#5
Re: [2005] Wierd Problem.
Then it would appear that that ActiveX control is not registered on your system. I've never done it manually myself but I'm sure there are plenty of people around here who have. You could wait for one of them to tell you or you could look it up on MSDN.
-
Aug 24th, 2006, 12:59 AM
#6
Thread Starter
Hyperactive Member
Re: [2005] Wierd Problem.
Ok. Thanks. Let me see if i can register it.
-
Aug 24th, 2006, 01:24 AM
#7
Thread Starter
Hyperactive Member
Re: [2005] Wierd Problem.
Ok. I re-registered it and it fixed the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|