PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average.

64 bit ActiveX vs Windows Forms

 
 
any
Guest
Posts: n/a
 
      15th Mar 2009
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.

 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Mar 2009
"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/>

 
Reply With Quote
 
pagerintas pritupimas
Guest
Posts: n/a
 
      16th Mar 2009
> 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?


 
Reply With Quote
 
New Member
Join Date: Dec 2010
Posts: 2
 
      17th Dec 2010
The correct approach is to add a reference to the .NET assembly directly.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Windows Forms Controls as ActiveX controls =?Utf-8?B?bGFyc2dyZWdlcnNlbg==?= Microsoft Dot NET 2 18th Oct 2007 10:01 AM
Flash ActiveX Control Transparency on Windows Forms noneya22@excite.com Microsoft Dot NET Framework Forms 0 9th Aug 2007 09:09 PM
.Net ActiveX importing windows forms. Peter Microsoft ASP .NET 0 21st Oct 2004 02:45 AM
Adding VB6 Forms(in an ActiveX DLL) to a C# app as MDI Child windows Ed Corcoran Microsoft C# .NET 0 20th May 2004 07:51 PM
Windows.Forms.Control as ActiveX in asp.net page shows as broken image Vincent Mouton Microsoft ASP .NET 0 28th Apr 2004 03:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:58 PM.