Failed to import ActiveX COM object, ShockwaveFlash

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BisSoft

    Failed to import ActiveX COM object, ShockwaveFlash

    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
  • Peter Huang [MSFT]

    #2
    RE: Failed to import ActiveX COM object, ShockwaveFlash

    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)
    Understand Aximp.exe, the Windows Forms ActiveX Control Importer. This tool converts type definitions in a COM type library for ActiveX into Windows Forms.


    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.

    Comment

    Working...