After using .Net for the past year. I finally have the need to create ActiveX objects that can be placed on a webpage for the purpose of getting information from the users OS. My question is if there is a .Net equivalent for ActiveX. I've seen in some discussions
where an assembly is referenced in antag but have not seen any documentation on how to create an assembly that would work the same way as an ActiveX control on a Browser. Any suggestions on this matter would be appreciated.....Thanks in advance
Create a WinForm UserControl, being careful to not use System colors, and then refer to it using an html object tag using the following syntax:My example is
here, and only works with IE and .NET v1.1 on client.
Thanks, Paul Wilson, ASPInsider, MC**
For the best .NET code, examples, and tools, visit:
WilsonDotNet.com, WilsonWebPortal.com, ORMapper.net
I looked at your demo but the UserControl does not appear. I only get that big empty square object box. Please let me know if I'm doing something wrong on my end. I realy want to see it. I actually turned my security settings on my browser to the lowest level.
Hey I finally realize what I was doing wrong. The namespace of the control was incorrect. However I have another problem now. My .Net Windows Form appears in the browser but I get the following message from a popup: The application attempted to perform an operation
not allowed by the security policy. The operation required the SecurityException. To grant this application the required permission please contat your system administrator, or use the Microsoft .Net security policy administration tool. There are two buttons
one to show details the other to continue. SO the control appears but none of my file IO calls work. Any help or suggestions as to where can I find more information to solve this problem.....
SosaWISE
Member
175 Points
35 Posts
Looking for .Net equivalent of ActiveX
Aug 18, 2003 08:29 PM|LINK
PaulWilson
Contributor
3715 Points
745 Posts
ASPInsiders
Re: Looking for .Net equivalent of ActiveX
Aug 18, 2003 11:12 PM|LINK
For the best .NET code, examples, and tools, visit:
WilsonDotNet.com, WilsonWebPortal.com, ORMapper.net
SosaWISE
Member
175 Points
35 Posts
Re: Looking for .Net equivalent of ActiveX
Aug 19, 2003 03:25 AM|LINK
SosaWISE
Member
175 Points
35 Posts
Re: Looking for .Net equivalent of ActiveX
Oct 27, 2003 10:05 PM|LINK