Using Windows Forms Controls in Internet Explorer This document describes how to successfully execute Windows Forms controls within Internet Explorer (IE). Windows Forms controls within IE are activated without user prompt, require no registration and utilize the Common Language Runtime (CLR) code access security. There are four steps in getting the Windows Forms control activated within Internet Explorer, each listed here and detailed below. Configure Code Access Permissions Create the Windows Forms control Create an HTML document with an object tag Create the virtual directory, copy content and set permissions Run the control 我查到这样一篇文章,说可以的啊
一般都要求你先加载一个控件,这个控件还需要数字签名,让你的IE认为他是安全的
在第一次加载的时候会弹出个提示,问你是否需要安装,kele8,3721都是这么做的 不过C#做不到,你不可能让现在的用户在去下载一个.net框架吧
This document describes how to successfully execute Windows Forms controls within Internet Explorer (IE). Windows Forms controls within IE are activated without user prompt, require no registration and utilize the Common Language Runtime (CLR) code access security. There are four steps in getting the Windows Forms control activated within Internet Explorer, each listed here and detailed below. Configure Code Access Permissions
Create the Windows Forms control
Create an HTML document with an object tag
Create the virtual directory, copy content and set permissions
Run the control
我查到这样一篇文章,说可以的啊
<object classid="clsid:xxxx" codebase="xxx.exe#version=1" >
不过C#编的EXE我也不清楚能不能直接在没有.net的环境下运行。