Why can I load a .net assembly in an IExplorer browser as per this example (html page and dll are in the same dir):
<OBJECT id="myControl1" name="myControl1" classid="ActiveXDotNet.dll#ActiveXDotNet.myControl" width=288 height=72>
</OBJECT>
that's from this sample:
but for a sidebar gadget I have to have to assign a guid to my class, make it com visible, write to the registry and all that as shown here:
I thought sidebar gadgets were something like mini docked html apps. It would sure be nice to "call your .NET assembly very similar to an ActiveX control; however there is no GUID, and no .OCX file. Your CLASSID is now the path to your DLL and the Namespace.Classname identifier."
Last quote is from the first sample.
Thanks,
DanT

activex dll vs .net dll in sidebar gadgets
arashikage
Chapio
Ok. I just went through this article:
http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/
which leads me to think that if it isn't prevented then maybe there is a permission or security issue somewhere. I'll have another look at it.
Thanks,
DanT