Error "Failed to import the ActiveX control. Please ensure it is registered properly.", when using a VB ocx in C#
-
Hi, I am trying to use a VB ocx control in C#. I have done the following 1. Registered the ocx 2. Included the component in VS .Net IDE tool bar. But when I try to drag and drop the control I am getting an error "Failed to import the ActiveX control. Please ensure it is registered properly." Any idea why this is happening? Note: Internally the ocx control makes use of a C++ dll. I am using .Net Visual Studio 2005
-
Hi, I am trying to use a VB ocx control in C#. I have done the following 1. Registered the ocx 2. Included the component in VS .Net IDE tool bar. But when I try to drag and drop the control I am getting an error "Failed to import the ActiveX control. Please ensure it is registered properly." Any idea why this is happening? Note: Internally the ocx control makes use of a C++ dll. I am using .Net Visual Studio 2005
-
Hi, I am trying to use a VB ocx control in C#. I have done the following 1. Registered the ocx 2. Included the component in VS .Net IDE tool bar. But when I try to drag and drop the control I am getting an error "Failed to import the ActiveX control. Please ensure it is registered properly." Any idea why this is happening? Note: Internally the ocx control makes use of a C++ dll. I am using .Net Visual Studio 2005
hi TinyTin, i got same error when i tried to add shockwave flash object into my form. before dragging the control, first rebuild your project. (not the solution but project! but after you add it into your toolbox!!!) and then try adding the control again into your form. this time u will probably not receive that error. hope this works for you too. -- modified at 4:04 Friday 18th August, 2006
-
hi TinyTin, i got same error when i tried to add shockwave flash object into my form. before dragging the control, first rebuild your project. (not the solution but project! but after you add it into your toolbox!!!) and then try adding the control again into your form. this time u will probably not receive that error. hope this works for you too. -- modified at 4:04 Friday 18th August, 2006
I tried this. It is not working. Looks like there is some problem in creating the wrapper for the ocx. After drag and drop, under Project->References the wrapper is not available. It simply shows the wrapper's name with a warning icon ( i.e.., the icon used to indicate that the reference is not available or not built).
-
hi TinyTin, i got same error when i tried to add shockwave flash object into my form. before dragging the control, first rebuild your project. (not the solution but project! but after you add it into your toolbox!!!) and then try adding the control again into your form. this time u will probably not receive that error. hope this works for you too. -- modified at 4:04 Friday 18th August, 2006
I tried this. It is not working. Looks like there is some problem in creating the wrapper for the ocx. After drag and drop, under Project->References the wrapper is not available. It simply shows the wrapper's name with a warning icon ( i.e.., the icon used to indicate that the reference is not available or not built).