.NET Framework Bookmark and Share   
 index > 64-Bit .NET Framework Development > ActiveX control on the ie64 in Vista
 

ActiveX control on the ie64 in Vista

Hi All,
I have ActiveX control written on the C#. It works fine on the Vista64 in ie32 but don't works in ie64. Why? In compiler option property "Target platform" set in value "Any CPU"...I used only .NET class library, without unmanaged code, without P/Invoke etc. However, when I set "Target platform" in "x64", ActiveX component don't works in both explorer (ie32 and ie64).
Alexandr Dayneko
Did you use the 64-bit version of Regasm.exe to register it? Required. The 32-bit version only makes it visible to 32-bit hosts.

Hans Passant.
nobugz
I used caspol.exe to add host to the trusted sites.
I tried execute caspol.exe from directory ..\.Net framework and from ..\.Net framework(64). No effects.
Code for ActiveX on my aspx page.

<object style="border:0px;margin:0px" id="Client"
classid="Services.dll#ControlLib.ServicesCtl" codebase="Services.dll#version=1,0,0,121">
<param name="SessionId" value ='<%= sessionId %>' />
<param name="WorkflowId" value ='<%= Request.Params["id"] %>' />
<param name="ServiceURL" value ='<%= serviceUrl %>' />
</object>
I execute ActiveX not as COM object...
Alexandr Dayneko

You can use google to search for other answers

Custom Search

More Threads

• Windows Authentication (Advapi32) in 64 bit
• API for detecting if a printer driver is 64 Bit [without Admin rights]
• How to get 64-bit MIDL files to work right?
• Server Explorer Data Connection to ORACLE in VS2008 on Vista x64?
• Edit And Continue
• Processors
• Creating 64 application using Visual Studio .NET 2003
• Microsoft. Net Framework
• Platform issues
• Visual Studio Team Edition 64 BIT ??