64 bit ActiveX vs Windows Forms

Discussion in 'Microsoft Dot NET Framework Forms' started by any, Mar 15, 2009.

  1. any

    any Guest

    Is it possible to host a 64 bit ActiveX control in Windows Forms? If yes,
    how do you add a reference to it? When trying to do so I get a
    "Self-registration for Boo.dll failed." error from Visual Studio 2008.
     
    any, Mar 15, 2009
    #1
    1. Advertisements

  2. "any" <any@many> schrieb:
    > Is it possible to host a 64 bit ActiveX control in Windows Forms? If yes,
    > how do you add a reference to it? When trying to do so I get a
    > "Self-registration for Boo.dll failed." error from Visual Studio 2008.


    There is no 64-bit version of COM, and thus there are no separate 64-bit
    ActiveX components. As COM is a 32-bit technology and ActiveX is based on
    it, you'll have to compile the application for X86 in order to be able to
    use the ActiveX control.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
     
    Herfried K. Wagner [MVP], Mar 16, 2009
    #2
    1. Advertisements

  3. > There is no 64-bit version of COM, and thus there are no separate 64-bit
    > ActiveX components. As COM is a 32-bit technology and ActiveX is based on
    > it, you'll have to compile the application for X86 in order to be able to
    > use the ActiveX control.


    A quote from Microsoft KB (http://support.microsoft.com/kb/896457):

    "The 64-bit version of Internet Explorer can host only native 64-bit ActiveX
    controls and other 64-bit Web page objects."

    That suggests that there is such a thing as 64-bit ActiveX control. The
    questions is: does Windows Forms and Visual Studio 2008 support it?
     
    pagerintas pritupimas, Mar 16, 2009
    #3
  4. any

    nibir.mistry

    Joined:
    Dec 17, 2010
    Likes Received:
    0
    The correct approach is to add a reference to the .NET assembly directly.
     
    nibir.mistry, Dec 17, 2010
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Petr Kolonicny

    Windows Form in an ActiveX Control

    Petr Kolonicny, Jul 28, 2003, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    537
    Petr Kolonicny
    Jul 28, 2003
  2. Guest

    How to add lines to Forms and Panels using VS Forms Designer?

    Guest, May 7, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    3
    Views:
    1,682
    Guest
    May 7, 2004
  3. Arashk Mahjoubi Amine

    Click event handler in forms, which the forms are in the mdi container

    Arashk Mahjoubi Amine, Jul 29, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    382
    Guest
    Aug 4, 2004
  4. moondaddy

    base forms and inherited forms

    moondaddy, Nov 1, 2004, in forum: Microsoft Dot NET Framework Forms
    Replies:
    10
    Views:
    798
    Jeffrey Tan[MSFT]
    Nov 4, 2004
  5. Guest

    Inheritance in forms which inherit template forms

    Guest, Jan 2, 2005, in forum: Microsoft Dot NET Framework Forms
    Replies:
    2
    Views:
    289
    Guest
    Jan 3, 2005
  6. Guest

    Creating children forms in MDI children forms

    Guest, Sep 21, 2005, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    313
    Guest
    Sep 21, 2005
  7. jjrwork

    Threading-freezing problem with Window Forms and COM ActiveX Objects

    jjrwork, Mar 24, 2006, in forum: Microsoft Dot NET Framework Forms
    Replies:
    1
    Views:
    346
    Stoitcho Goutsev \(100\)
    Mar 24, 2006
  8. Flash ActiveX Control Transparency on Windows Forms

    , Aug 9, 2007, in forum: Microsoft Dot NET Framework Forms
    Replies:
    0
    Views:
    672
Loading...