Programming.ActiveX History

Hide minor edits - Show changes to output - Cancel

 
 
March 25, 2011, at 08:43 AM by OtherMichael -
Added lines 1-33:
!! [[#General]] General Notes
Wikipedia:ActiveX
https://www.microsoft.com/com/default.mspx


!! adding to [@.NET@]
so, say you've built a win32 [@ActiveX.exe@] control (NOT a [@.dll@] and you need to attach it to your win64 (Win7, in my case) .NET project....
Add a reference to it!

Well, after you've registered it.

Open a shell with admin-priviledges and execute the following:
->[@\path\to\ActiveX.exe /regserver@]

If you've previously added the component to your project, and need to re-register a new version
->[@\path\to\ActiveX.exe /unregserver@]

then

->[@\path\to\ActiveX.exe /regserver@]


I'm not clear on whether you need to unregister/re-register for a new build. Perhaps only if binary incompatible?
Or maybe always, particularly if you've set project properties to copy into the build folder.




!! [[#SeeAlso]] See Also
DotNet

!! [[#Categories]] Category tags
[[!Programming]] [[!vb6]] [[!microsoft]] [[!win32]]