`
friping
  • 浏览: 130577 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

WebBrowser.ExecWB 总结

 
阅读更多

<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0></OBJECT>
<input name=Button onClick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开>
<input name=Button onClick=document.all.WebBrowser.ExecWB(2,1) type=button value=关闭所有>
<input name=Button onClick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为>
<input name=Button onClick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印>
<input name=Button onClick=document.all.WebBrowser.ExecWB(6,6) type=button value=直接打印>
<input name=Button onClick=document.all.WebBrowser.ExecWB(7,1) type=button value=打印预览>
<input name=Button onClick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置>
<input name=Button onClick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性>
<input name=Button onClick=document.all.WebBrowser.ExecWB(17,1) type=button value=全选>
<input name=Button onClick=document.all.WebBrowser.ExecWB(22,1) type=button value=刷新>
<input name=Button onClick=document.all.WebBrowser.ExecWB(45,1) type=button value=关闭>
分享到:
评论

相关推荐

    iewebbrowser组件的execwb方法

    iewebbrowser组件的execwb方法IEWebBrowser组件的execWB方法整理。 1. &lt;object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"&gt;&lt;/object&gt; 2. 调用方法。 WebBrowser....

    网页WB.ExecWB控件打印方法调用说明及参数介绍

    网页WB.ExecWB控件打印方法调用WB.ExecWB(4,1) 说明及参数介绍:4,1 保存网页;4,2 保存网页(可以重新命名) ;6,1 直接打印等等有需要的朋友可以参考下

    web开发中常用的input事件汇总

    1.&lt;INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1&gt; 2.&lt;INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2&gt; 3....

    html调用打印实现打印

    &lt;input class="b" name=Button onClick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开&gt; &lt;input class="b" name=Button onClick=document.all.WebBrowser.ExecWB(2,1) type=button value=关闭所有&gt; ...

    jsp页面如何实现web打印

    document.all.WebBrowser.ExecWB(6,6) 直接打印 document.all.WebBrowser.ExecWB(8,1) 页面设置 document.all.WebBrowser.ExecWB(7,1) 打印预览 3 隐藏不打印的页面元素和分页 CSS 有个Media 属性,可以分开...

    input按钮的事件处理大全

    INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1&gt; 2.&lt;INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2&gt; 3.&lt;INPUT ...

    JavaScript 实现打印,打印预览,打印设置

    WebBrowser是IE内置的浏览器控件,无需用户下载. 一、WebBrowser控件 &lt;object ID=’WebBrowser’ WIDTH=0 HEIGHT=0 CLASSID=’CLSID:8856F961-340A-11D0-A96B-00C04FD705A2′&gt;...WebBrowser.ExecWB(1

    JavaScript调用浏览器打印功能实例分析

    * WebBrowser.ExecWB(1,1) 打开 * Web.ExecWB(2,1) 关闭现在所有的IE窗口,并打开一个新窗口 * Web.ExecWB(4,1) 保存网页 * Web.ExecWB(6,1) 打印 * Web.ExecWB(7,1) 打印预览 * Web.ExecWB(8

    IE功能汇总

    INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1&gt; &lt;INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2&gt; &lt;INPUT ...

    利用WebBrowser彻底解决Web打印问题(包括后台打印)

    页面设置和打印预览如下所示,直接调用即可document.all.WebBrowser.ExecWB(6,6) 直接打印document.all.WebBrowser.ExecWB(8,1) 页面设置document.all.WebBrowser.ExecWB(7,1) 打印预览或者:execScript("document....

    javaScript一些常用功能

    &lt;input name=Button onClick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性&gt; &lt;OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0&gt; 可能提示“权限不足”

    javascript 打印页面代码

    代码如下:&lt;... &lt;head&gt; &lt;title&gt;javascript打印页面&lt;/title&gt; [removed]&lt;!– function fPrint(){ //... document.all.WebBrowser.ExecWB(7,1); document.getElementById(“divOperate”).style.disp

    vb程序设计--IE浏览器程序代码.docx

    CommonDialog1.InitDir = "c:\" CommonDialog1.Filter = "HTML文件" CommonDialog1.ShowOpen Combo1.Text = CommonDialog1.FileName 另存为:保存网页 WebBrowser1.SetFocus: WebBrowser1.ExecWB OLECMDID_SAVEAS, ...

    js使用小技巧

    Javascript小技巧一箩筐 事件源对象 event.srcElement.tagName event.srcElement.type ... 捕获释放 event.srcElement.setCapture();...event.srcElement.releaseCapture();... 根据鼠标获得元素: document....

    用javascript实现页面打印的三种方法

    &lt;button onClick="WebBrowser.ExecWB(8,1)"&gt;打印 ``` 这种方法的优点是可以自定义打印设置和打印机选择,但其缺点是需要 IE5.5 或更高版本的支持,并且可能受到客户端 IE 的安全性设置的影响。这种方法适用于需要...

    C# WebBrowser的应用

    关于Microsoft Web浏览器的应用

    将ExecWB与本机.NET 2.0 WebBrowser控件一起使用

    如何通过访问ExecWB缩放标准的WebBrowser控件。

    【新】获得外部IWebbrowser2达到对外部Webbrowser的完全控制-易语言

    获得IWebbrowser2对象后即可对当前Webbrowser进行完全控制:例如,前进、后退以及执行ExecWB命令 获得IWebbrowser2对象后可以用事件接收器(例如“黑月COM类”)对该IWebbrowser2进行挂接事件,从而该Webbrowser的...

    ASP.NET开发实战1200例(第Ⅰ卷)第十二章

    实例312 用WebBrowser组件的execWB方法 进行打印 491 实例313 利用JavaScript获取焦点并且打印 框架中内容 492 实例314 智能放大或者缩小图片后进行打印 494 实例315 清空或恢复打印页面中的页眉和页脚 495 实例316...

Global site tag (gtag.js) - Google Analytics