Failed to import the ActiveX control. Why?

  • Thread starter Robert Schneider
  • Start date
R

Robert Schneider

VS2005 upsets me more and more. Hopefully it is better when there is the
final release.

I get the following error message when I try to place a user control of an
OCX onto a form:
"Failed to import the ActiveX control. Please ensure it is proberly
registered."
The control was already on the form. But then I had to recompile it. Then
the reference is lost and the control was removed from the form. Okay. Then
I wanted to place it again onto the form but then the error occured.
However, when I create a new project I have no problem to place the user
control of the OCX onto a form.

Is this a bug? Or am I doing anything wrong?

Cheers,
Robert
 
R

Robert Schneider

I found a solution. I had to delete the bin and obj directory. Then it was
possible to place the user control onto my form.

But I think this is not like it should be. Is it a bug then?

Robert
 

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