Error 0x80040154 class not registered

G

Guest

The application used to work fine, but today, in this code:

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

..Net shows the next error:

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

Why is it?

Tnx
Alejandra Parra
 
N

Nick Malik [Microsoft]

Hello Alejandra,

Alejandra Parra said:
The application used to work fine, but today, in this code:

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

.Net shows the next error:

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

Why is it?

The type of the variable 'Me.AxSSTab1' is, I assume, a control. From this
error, it appears that the control is either not registered or is not
responding as though it is registered.

Can you tell us the type of the control?
Can you look in the registry and make sure that this control is still
registered?
Are you sure that this control isn't failing on purpose, due to a licensing
issue?


--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top