千家信息网

如何理解vbs的没公开对象

发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,本篇内容主要讲解"如何理解vbs的没公开对象",感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习"如何理解vbs的没公开对象"吧!WSH中可以运用的Interne
千家信息网最后更新 2026年11月03日如何理解vbs的没公开对象

本篇内容主要讲解"如何理解vbs的没公开对象",感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习"如何理解vbs的没公开对象"吧!

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 Refresh3([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的没公开对象"有了更深的了解,不妨来实际操作一番吧!这里是网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

方法 对象 内容 学习 实用 更深 代码 兴趣 实用性 实际 就是 操作简单 更多 朋友 网站 这是 频道 查询 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 苏州找大状互联网科技有限公司 智能科技公司是互联网公司吗 为想互联网科技 远信互联网科技 未来的互联网科技 居家互联网科技有限公司 金融科技和互联网金融 哈尔滨新华互联网科技 互联网5g黑科技有哪些 玉溪互联网科技怎么选 恒生互联网科技指数跳水 华夏恒生互联网科技013171 雨阳互联网卡科技有限公司 21世纪互联网科技成就 江苏互联网智能科技软件 广东鹅鹅鹅互联网科技有限公司 互联网科技企业商标注意事项 保山互联网科技靠谱吗 互联网科技自媒体灵感 小牛互联网科技有限公司地址 互联网巨头反垄断金融科技 互联网科技论文 居家互联网科技有限公司 成都铂石互联网科技做什么的 国大互联网教育科技有限公司工作 中国互联网有什么科技 互联网科技年终奖 新氧科技和美国互联网有关系吗 互联网金融运营模式中的金融科技 高科技和互联网的现代国家
0