国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > VBScript > 正文

vbs得沒公開對象

2020-06-26 17:40:53
字體:
來源:轉載
供稿:網友
WSH中可以運用的InternetExplorer.Application 
如例: 
原代碼: 
set ie=createobject("internetexplorer.application") 
msgbox "顯示IE" 
ie.visible=true 
msgbox "隱藏ie" 
ie.visible=false 
msgbox "關閉ie" 
ie.quit 


下面這是internetexplorer.application的方法 
如上面用的 
ie.visible==false同ie.visible=true 
就是用這個方法 
Property Visible As Boolean 
Determines whether the application is visible or hidden. 

方法: 
Property AddressBar As Boolean 
Controls whether address bar is shown 
Property Application As Object 
Returns the application automation object if accessible, this automation object otherwise.. 
Property Busy As Boolean 
Query to see if something is still in progress. 
Sub ClientToWindow(pcx As Long, pcy As Long) 
Converts client sizes into window sizes. 
Property Container As Object 
Returns the container/parent automation object, if any. 
Property Document As Object 
Returns the active Document automation object, if any. 
Sub ExecWB(ByVal cmdID As OLECMDID, ByVal cmdexecopt As OLECMDEXECOPT, [pvaIn], [pvaOut]) 
IOleCommandTarget::Exec 
Property FullName As String 
Returns file specification of the application, including path. 
Property FullScreen As Boolean 
Maximizes window and turns off statusbar, toolbar, menubar, and titlebar. 
Function GetProperty(ByVal Property As String) 
Retrieve the Associated value for the property vtvalue in the context of the object. 
Sub GoBack 
Navigates to the previous item in the history list. 
Sub GoForward 
Navigates to the next item in the history list. 
Sub GoHome 
Go home/start page. 
Sub GoSearch 
Go Search Page. 
Property Height As Long 
The vertical dimension (pixels) of the frame window/object. 
Property HWND As Long 
Returns the HWND of the current IE window. 
Property Left As Long 
The horizontal position (pixels) of the frame window relative to the screen/container. 
Property LocationName As String 
Gets the short (UI-friendly) name of the URL/file currently viewed. 
Property LocationURL As String 
Gets the full URL/path currently viewed. 
Property MenuBar As Boolean 
Controls whether menubar is shown. 
Property Name As String 
Returns name of the application. 
Sub Navigate(ByVal URL As String, [Flags], [TargetFrameName], [PostData], [Headers]) 
Navigates to a URL or file. 
Sub Navigate2(URL, [Flags], [TargetFrameName], [PostData], [Headers]) 
Navigates to a URL or file or pidl. 
Property Offline As Boolean 
Controls if the frame is offline (read from cache) 
Property Parent As Object 
Returns the automation object of the container/parent if one exists or this automation object. 
Property Path As String 
Returns the path to the application. 
Sub PutProperty(ByVal Property As String, ByVal vtvalue) 
Associates vtvalue with the name szProperty in the context of the object. 
Function QueryStatusWB(ByVal cmdID As OLECMDID) As OLECMDF 
IOleCommandTarget::QueryStatus 
Sub Quit 
Exits application and closes the open document. 
Property ReadyState As tagREADYSTATE 
no description available 
Sub Refresh 
Refresh the currently viewed page. 
Sub Refresh2([Level]) 
Refresh the currently viewed page. 
Property RegisterAsBrowser As Boolean 
Registers OC as a top-level browser (for target name resolution) 
Property RegisterAsDropTarget As Boolean 
Registers OC as a drop target for navigation 
Property Resizable As Boolean 
Controls whether the window is resizable 
Sub ShowBrowserBar(pvaClsid, [pvarShow], [pvarSize]) 
Set BrowserBar to Clsid 
Property Silent As Boolean 
Controls if any dialog boxes can be shown 
Property StatusBar As Boolean 
Turn on or off the statusbar. 
Property StatusText As String 
Text of Status window. 
Sub Stop 
Stops opening a file. 
Property TheaterMode As Boolean 
Controls if the browser is in theater mode 
Property ToolBar As Long 
Controls which toolbar is shown. 
Property Top As Long 
The vertical position (pixels) of the frame window relative to the screen/container. 
Property TopLevelContainer As Boolean 
Returns True if this is the top level object. 
Property Type As String 
Returns the type of the contained document object. 
Property Visible As Boolean 
Determines whether the application is visible or hidden. 
Property Width As Long 
The horizontal dimension (pixels) of the frame window/object. 
上一篇:vbs在網頁中顯示服務

下一篇:unpack.vbs

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 鄂托克前旗| 桐梓县| 理塘县| 白朗县| 平远县| 吉林省| 莒南县| 丰都县| 获嘉县| 汽车| 明光市| 平谷区| 东乡县| 宣化县| 交城县| 朝阳市| 滨海县| 星子县| 开鲁县| 越西县| 民权县| 建瓯市| 阿巴嘎旗| 呼伦贝尔市| 三穗县| 襄汾县| 江北区| 中卫市| 桐庐县| 隆回县| 福贡县| 杂多县| 收藏| 太仓市| 遂平县| 卓资县| 绍兴县| 南城县| 金沙县| 彰化县| 扬中市|