473,396 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Failed to import the ActiveX control. Why?

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
--
E-Mail: r._sch_nei_d_er#_we_ingar_t_ner.c_om
(remove each '_' from the address and replace '#' with '@')
Nov 21 '05 #1
1 10015
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
--
E-Mail: r._sch_nei_d_er#_we_ingar_t_ner.c_om
(remove each '_' from the address and replace '#' with '@')
"Robert Schneider" <lo*******@the.posting> schrieb im Newsbeitrag
news:O3*************@TK2MSFTNGP15.phx.gbl...
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
--
E-Mail: r._sch_nei_d_er#_we_ingar_t_ner.c_om
(remove each '_' from the address and replace '#' with '@')

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Vijay | last post by:
Hi, I have created an ActiveX ocx control in VC++6.0. When I run it in an ActiveX container of TSTCON32.exe. (the one that is shown while debugging) it runs perfectly. Iam trying to include it...
0
by: ashish_gokhale | last post by:
Hi Everyone I am embeding windows user control in form which takes reference of Activex control. When I assign a strong name to it and complie it, compilation fails saying the activex control...
7
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do...
1
by: BisSoft | last post by:
Hi I tried to import SchokWaveFlash COM object onto my form. I succesifuly find it in Reference browser within COM objects and add it to the toolbox, but when I drag the control on the form it...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
11
by: fniles | last post by:
We can not register an ActiveX control on our Vista 32 bit machine. When we do regsvr32 c:\windows\system32\citcp.ocx (this is a 3rd party ActiveX control), we got an error: citcp.ocx was loaded...
2
by: Sagaert Johan | last post by:
Hi I tried to import an ActiveX into the toolbox. There seems te be a problem when the designer generates the wrapper assembly. Also tried to use Aximp with same error : The error is...
2
by: jamitwidme | last post by:
Hello everyone Can someone help me fix this problem? I am using an example from Pyro(Python Remote Object) website directly. It is the last example from...
0
by: kaushalgajjar | last post by:
Hi, I had created an active-x control (ocx) in vb6 and i have used in VB.Net and HTML using ClassId reference and the active-x was working fine with ASP.Net, HTML and VB6. Now the active-x is...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.