PB中使用microsoft Web浏览器控件的一些定义及大体使用说明

 
PB中使用microsoft Web浏览器控件的一些定义及大体使用说明  
integer olecmdexecopt_dodefault
integer olecmdexecopt_promptuser=1
integer olecmdexecopt_dontpromptuser=2
integer olecmdexecopt_showhelp=3
integer olecmdid_open=1
integer olecmdid_new=2
integer olecmdid_save=3
integer olecmdid_saveas=4
integer olecmdid_savecopyas=5
integer olecmdid_print=6
integer olecmdid_printpreview=7
integer olecmdid_pagesetup=8
integer olecmdid_spell=9
integer olecmdid_properties=10
integer olecmdid_cut=11
integer olecmdid_copy=12
integer olecmdid_paste=13
integer olecmdid_pastespecial=14
integer olecmdid_undo=15
integer olecmdid_redo=16
integer olecmdid_selectall=17
integer olecmdid_clearselection=18
integer olecmdid_zoom=19
integer olecmdid_getzoomrange=20
integer olecmdid_updatecommands=21
integer olecmdid_refresh=22
integer olecmdid_stop=23
integer olecmdid_hidetoolbars=24
integer olecmdid_setprogressmax=25
integer olecmdid_setprogresspos=26
integer olecmdid_setprogresstext=27
integer olecmdid_settitle=28
integer olecmdid_setdownloadstate=29
integer olecmdid_stopdownload=30
integer olecmdid_ontoolbaractivated=31
integer olecmdid_find=32
integer olecmdid_delete=33
integer olecmdid_httpequiv=34
integer olecmdid_httpequiv_done=35
integer olecmdid_enable_interaction=36
integer olecmdid_οnunlοad=37
integer olecmdid_propertybag2=38
integer olecmdid_prerefresh=39

ole_1.object.Navigate( ls_http  )
//通过事件检测网页是否打开成功,然后继续下面的角本

ole_1.object.execwb(olecmdid_selectall,olecmdexecopt_promptuser,asstatement!)
ole_1.object.execwb(olecmdid_copy,olecmdexecopt_promptuser,asstatement!)
dw_3.reset( )
dw_3.importclipboard( )
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值