Failed to import ActiveX COM object, ShockwaveFlash

B

BisSoft

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 gives me the following message:
"Failed to import ActiveX Control. Please ensure that it is properly
registered"

I know for a fact that this object can regularily be imported, because I
have downloaded an example from codeproject where a guy did the same thing
and it works for him. The difference is that he used C# -VS.NET 2003 and I
am using C# -VS.NET 2005


Does anyone know what might be the problem?
Thanks,
Bis.Soft
 
P

Peter Huang [MSFT]

Hi,

I think you may try to use the .NET tool Windows Forms ActiveX Control
Importer (Aximp.exe) which will do the similar job when added the control
onto the toolbox.
Please use the /verbose to see if there will be more information when
importing.
Windows Forms ActiveX Control Importer (Aximp.exe)
http://msdn2.microsoft.com/en-us/library/8ccdh774.aspx

Also you may try to add reference to the VS.NET 2003 IDE generated interop
assembly(for ax, there should be two assemblies) in VS.NET 2005 to see if
that works for you.


Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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