Form Control在IE中使用的问题 创建一个简单的窗体控件,包含了一些非托管代码,能在WindowsFormApplication中正常使用,但是IE中使用就不行了。需要权限之类,是非托管代码的原因,提示信息如下:
----------------------- Microsoft .NET Framework Application atempted to perform an operation not allowed by the security policy. To grant this applicaiton the required permission , contact your system administrator, or use the Microsoft .NET Framework Configuration tool.
If you click Continue, the application will ignore this error and attempt to continue.
Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, version=2.0.0.0, Cultrue=neutral, PublicKeyToken=xxxxxxxx' failed. -----------------------