WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

OLE with MSIE
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

SHDOCVW dll

 Keywords: browser objects Internet explorer SHDOCVW.dll

I found this detailed outline of the SHDOCVW.dll - it is a nice reference for writing your own browser objects in scripts. TypeLibrary Voor Bestand: shdocvw.dll

	shdocvw.dll

CommandStateChangeConstants Omschrijving
Const CSC_NAVIGATEBACK = 2 Navigate Back
Const CSC_NAVIGATEFORWARD = 1 Navigate Forward
Const CSC_UPDATECOMMANDS = -1 (&HFFFFFFFF) Command Change

CScriptErrorList Omschrijving
Sub advanceError (undocumented)
Sub retreatError (undocumented)
Sub setDetailsPaneOpen(ByVal fDetailsPaneOpen As Long) (undocumented)
Sub setPerErrorDisplay(ByVal fPerErrorDisplay As Long) (undocumented)
Function canAdvanceError As Long (undocumented)
Function canRetreatError As Long (undocumented)
Function getAlwaysShowLockState As Long (undocumented)
Function getDetailsPaneOpen As Long (undocumented)
Function getErrorChar As Long (undocumented)
Function getErrorCode As Long (undocumented)
Function getErrorLine As Long (undocumented)
Function getErrorMsg As String (undocumented)
Function getErrorUrl As String (undocumented)
Function getPerErrorDisplay As Long (undocumented)

InternetExplorer Omschrijving
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.
Property Container As Object Returns the container/parent automation object, if any.
Property Document As Object Returns the active Document automation object, if any.
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.
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.
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.
Property ReadyState As tagREADYSTATE (undocumented)
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
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.
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.
Sub ClientToWindow(pcx As Long,
		 pcy As Long)	
Converts client sizes into window sizes.
Sub ExecWB(ByVal cmdID As  OLECMDID,
		 ByVal cmdexecopt As  OLECMDEXECOPT,
		 [pvaIn],
		 [pvaOut])	
IOleCommandTarget::Exec
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.
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.
Sub PutProperty(ByVal Property As String,
		 ByVal vtValue)	
Associates vtValue with the name szProperty in the context of the object.
Sub Quit Exits application and closes the open document.
Sub Refresh Refresh the currently viewed page.
Sub Refresh2([Level]) Refresh the currently viewed page.
Sub ShowBrowserBar(pvaClsid,
		 [pvarShow],
		 [pvarSize])	
Set BrowserBar to Clsid
Sub Stop Stops opening a file.
Function GetProperty(ByVal Property As String) Retrieve the Associated value for the property vtValue in the context of the object.
Function QueryStatusWB(ByVal cmdID As OLECMDID) As OLECMDF IOleCommandTarget::QueryStatus
Sub BeforeNavigate2(ByVal pDisp As  Object,
		 URL,
		 Flags,
		 TargetFrameName,
		 PostData,
		 Headers,
		 Cancel As Boolean)	
Fired before navigate occurs in the given WebBrowser (window or frameset element). The processing of this navigation may be modified.
Sub ClientToHostWindow(CX As Long,
		 CY As Long)	
Fired to request client sizes be converted to host window sizes
Sub CommandStateChange(ByVal Command As Long,
		 ByVal Enable As Boolean)	
The enabled state of a command changed.
Sub DocumentComplete(ByVal pDisp As  Object,
		 URL)	
Fired when the document being navigated to reaches ReadyState_Complete.
Sub DownloadBegin Download of a page started.
Sub DownloadComplete Download of page complete.
Sub FileDownload(Cancel As Boolean) Fired to indicate the File Download dialog is opening
Sub NavigateComplete2(ByVal pDisp As  Object,
		 URL)	
Fired when the document being navigated to becomes visible and enters the navigation stack.
Sub NavigateError(ByVal pDisp As  Object,
		 URL,
		 Frame,
		 StatusCode,
		 Cancel As Boolean)	
Fired when a binding error occurs (window or frameset element).
Sub NewWindow2(ppDisp As  Object,
		 Cancel As Boolean)	
A new, hidden, non-navigated WebBrowser window is needed.
Sub OnFullScreen(ByVal FullScreen As Boolean) Fired when fullscreen mode should be on/off
Sub OnMenuBar(ByVal MenuBar As Boolean) Fired when the menubar should be shown/hidden
Sub OnQuit Fired when application is quiting.
Sub OnStatusBar(ByVal StatusBar As Boolean) Fired when the statusbar should be shown/hidden
Sub OnTheaterMode(ByVal TheaterMode As Boolean) Fired when theater mode should be on/off
Sub OnToolBar(ByVal ToolBar As Boolean) Fired when the toolbar should be shown/hidden
Sub OnVisible(ByVal Visible As Boolean) Fired when the window should be shown/hidden
Sub PrintTemplateInstantiation(ByVal pDisp As Object) Fired when a print template is instantiated.
Sub PrintTemplateTeardown(ByVal pDisp As Object) Fired when a print template destroyed.
Sub PrivacyImpactedStateChange(ByVal bImpacted As Boolean) Fired when the global privacy impacted state changes
Sub ProgressChange(ByVal Progress As Long,
		 ByVal ProgressMax As Long)	
Fired when download progress is updated.
Sub PropertyChange(ByVal szProperty As String) Fired when the PutProperty method has been called.
Sub SetSecureLockIcon(ByVal SecureLockIcon As Long) Fired to indicate the security level of the current web page contents
Sub StatusTextChange(ByVal Text As String) Statusbar text changed.
Sub TitleChange(ByVal Text As String) Document title changed.
Sub UpdatePageStatus(ByVal pDisp As  Object,
		 nPage,
		 fDone)	
Fired when a page is spooled. When it is fired can be changed by a custom template.
Sub WindowClosing(ByVal IsChildWindow As Boolean,
		 Cancel As Boolean)	
Fired when the WebBrowser is about to be closed by script
Sub WindowSetHeight(ByVal Height As Long) Fired when the host window should change its height
Sub WindowSetLeft(ByVal Left As Long) Fired when the host window should change its Left coordinate
Sub WindowSetResizable(ByVal Resizable As Boolean) Fired when the host window should allow/disallow resizing
Sub WindowSetTop(ByVal Top As Long) Fired when the host window should change its Top coordinate
Sub WindowSetWidth(ByVal Width As Long) Fired when the host window should change its width

ISearch Omschrijving
Property Id As String Get search guid
Property Title As String Get search title
Property URL As String Get search url

ISearchAssistantOC Omschrijving
Property ASProvider As String (undocumented)
Property ASSetting As Long (undocumented)
Property EventHandled As Boolean (undocumented)
Property InWebFolder As Boolean Returns true if the current folder is web folder
Property SearchAssistantDefault As Boolean property SearchAssistantDefault
Property Searches As ISearches Get searches
Property ShellFeaturesEnabled As Boolean property ShellFeaturesEnabled
Property Version As Long (undocumented)
Sub AddNextMenuItem(ByVal bstrText As String,
		 ByVal idItem As Long)	
(undocumented)
Sub FindComputer (undocumented)
Sub FindFilesOrFolders (undocumented)
Sub FindOnWeb (undocumented)
Sub FindPeople (undocumented)
Sub FindPrinter (undocumented)
Sub NavigateToDefaultSearch (undocumented)
Sub NETDetectNextNavigate (undocumented)
Sub NotifySearchSettingsChanged (undocumented)
Sub PutFindText(ByVal FindText As String) (undocumented)
Sub PutProperty(ByVal bPerLocale As Boolean,
		 ByVal bstrName As String,
		 ByVal bstrValue As String)	
(undocumented)
Sub ResetNextMenu (undocumented)
Sub SetDefaultSearchUrl(ByVal bstrUrl As String) (undocumented)
Function EncodeString(ByVal bstrValue As String,
		 ByVal bstrCharSet As String,
		 ByVal bUseUTF8 As Boolean) As String	
(undocumented)
Function GetProperty(ByVal bPerLocale As Boolean,
		 ByVal bstrName As String) As String	
(undocumented)
Function GetSearchAssistantURL(ByVal bSubstitute As Boolean,
		 ByVal bCustomize As Boolean) As String	
(undocumented)
Function IsRestricted(ByVal bstrGuid As String) As Boolean (undocumented)

ISearchAssistantOC2 Omschrijving
Property ASProvider As String (undocumented)
Property ASSetting As Long (undocumented)
Property EventHandled As Boolean (undocumented)
Property InWebFolder As Boolean Returns true if the current folder is web folder
Property SearchAssistantDefault As Boolean property SearchAssistantDefault
Property Searches As ISearches Get searches
Property ShellFeaturesEnabled As Boolean property ShellFeaturesEnabled
Property ShowFindPrinter As Boolean (undocumented)
Property Version As Long (undocumented)
Sub AddNextMenuItem(ByVal bstrText As String,
		 ByVal idItem As Long)	
(undocumented)
Sub FindComputer (undocumented)
Sub FindFilesOrFolders (undocumented)
Sub FindOnWeb (undocumented)
Sub FindPeople (undocumented)
Sub FindPrinter (undocumented)
Sub NavigateToDefaultSearch (undocumented)
Sub NETDetectNextNavigate (undocumented)
Sub NotifySearchSettingsChanged (undocumented)
Sub PutFindText(ByVal FindText As String) (undocumented)
Sub PutProperty(ByVal bPerLocale As Boolean,
		 ByVal bstrName As String,
		 ByVal bstrValue As String)	
(undocumented)
Sub ResetNextMenu (undocumented)
Sub SetDefaultSearchUrl(ByVal bstrUrl As String) (undocumented)
Function EncodeString(ByVal bstrValue As String,
		 ByVal bstrCharSet As String,
		 ByVal bUseUTF8 As Boolean) As String	
(undocumented)
Function GetProperty(ByVal bPerLocale As Boolean,
		 ByVal bstrName As String) As String	
(undocumented)
Function GetSearchAssistantURL(ByVal bSubstitute As Boolean,
		 ByVal bCustomize As Boolean) As String	
(undocumented)
Function IsRestricted(ByVal bstrGuid As String) As Boolean (undocumented)

ISearches Omschrijving
Property Count As Long Get the count of searches
Property Default As String Get the default search name
Function _NewEnum As Unknown Enumerates the searches
Function Item([ByVal index]) As ISearch Return the specified search

IShellFavoritesNameSpace Omschrijving
Property SubscriptionsEnabled As Boolean Query to see if subscriptions are enabled
Sub Export method Export
Sub Import method Import
Sub InvokeContextMenuCommand(ByVal strCommand As String) method InvokeContextMenuCommand
Sub MoveSelectionDown method MoveSelectionDown
Sub MoveSelectionTo method MoveSelectionTo
Sub MoveSelectionUp method MoveSelectionUp
Sub NewFolder method NewFolder
Sub ResetSort method ResetSort
Sub SetRoot(ByVal bstrFullPath As String) old, use put_Root() instead
Sub Synchronize method Synchronize
Function CreateSubscriptionForSelection As Boolean method CreateSubscriptionForSelection
Function DeleteSubscriptionForSelection As Boolean method DeleteSubscriptionForSelection

IWebBrowserApp Omschrijving
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.
Property Container As Object Returns the container/parent automation object, if any.
Property Document As Object Returns the active Document automation object, if any.
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.
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.
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.
Property StatusBar As Boolean Turn on or off the statusbar.
Property StatusText As String Text of Status window.
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.
Sub ClientToWindow(pcx As Long,
		 pcy As Long)	
Converts client sizes into window sizes.
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.
Sub Navigate(ByVal URL As String,
		 [Flags],
		 [TargetFrameName],
		 [PostData],
		 [Headers])	
Navigates to a URL or file.
Sub PutProperty(ByVal Property As String,
		 ByVal vtValue)	
Associates vtValue with the name szProperty in the context of the object.
Sub Quit Exits application and closes the open document.
Sub Refresh Refresh the currently viewed page.
Sub Refresh2([Level]) Refresh the currently viewed page.
Sub Stop Stops opening a file.
Function GetProperty(ByVal Property As String) Retrieve the Associated value for the property vtValue in the context of the object.

OLECMDEXECOPT Omschrijving
Const OLECMDEXECOPT_DODEFAULT = 0 (undocumented)
Const OLECMDEXECOPT_DONTPROMPTUSER = 2 (undocumented)
Const OLECMDEXECOPT_PROMPTUSER = 1 (undocumented)
Const OLECMDEXECOPT_SHOWHELP = 3 (undocumented)

OLECMDF Omschrijving
Const OLECMDF_DEFHIDEONCTXTMENU = 32 (&H20) (undocumented)
Const OLECMDF_ENABLED = 2 (undocumented)
Const OLECMDF_INVISIBLE = 16 (&H10) (undocumented)
Const OLECMDF_LATCHED = 4 (undocumented)
Const OLECMDF_NINCHED = 8 (undocumented)
Const OLECMDF_SUPPORTED = 1 (undocumented)

OLECMDID Omschrijving
Const OLECMDID_ALLOWUILESSSAVEAS = 46 (&H2E) (undocumented)
Const OLECMDID_CLEARSELECTION = 18 (&H12) (undocumented)
Const OLECMDID_CLOSE = 45 (&H2D) (undocumented)
Const OLECMDID_COPY = 12 (undocumented)
Const OLECMDID_CUT = 11 (undocumented)
Const OLECMDID_DELETE = 33 (&H21) (undocumented)
Const OLECMDID_DONTDOWNLOADCSS = 47 (&H2F) (undocumented)
Const OLECMDID_ENABLE_INTERACTION = 36 (&H24) (undocumented)
Const OLECMDID_FIND = 32 (&H20) (undocumented)
Const OLECMDID_GETPRINTTEMPLATE = 52 (&H34) (undocumented)
Const OLECMDID_GETZOOMRANGE = 20 (&H14) (undocumented)
Const OLECMDID_HIDETOOLBARS = 24 (&H18) (undocumented)
Const OLECMDID_HTTPEQUIV = 34 (&H22) (undocumented)
Const OLECMDID_HTTPEQUIV_DONE = 35 (&H23) (undocumented)
Const OLECMDID_NEW = 2 (undocumented)
Const OLECMDID_ONTOOLBARACTIVATED = 31 (&H1F) (undocumented)
Const OLECMDID_ONUNLOAD = 37 (&H25) (undocumented)
Const OLECMDID_OPEN = 1 (undocumented)
Const OLECMDID_PAGESETUP = 8 (undocumented)
Const OLECMDID_PASTE = 13 (undocumented)
Const OLECMDID_PASTESPECIAL = 14 (undocumented)
Const OLECMDID_PREREFRESH = 39 (&H27) (undocumented)
Const OLECMDID_PRINT = 6 (undocumented)
Const OLECMDID_PRINT2 = 49 (&H31) (undocumented)
Const OLECMDID_PRINTPREVIEW = 7 (undocumented)
Const OLECMDID_PRINTPREVIEW2 = 50 (&H32) (undocumented)
Const OLECMDID_PROPERTIES = 10 (undocumented)
Const OLECMDID_PROPERTYBAG2 = 38 (&H26) (undocumented)
Const OLECMDID_REDO = 16 (&H10) (undocumented)
Const OLECMDID_REFRESH = 22 (&H16) (undocumented)
Const OLECMDID_SAVE = 3 (undocumented)
Const OLECMDID_SAVEAS = 4 (undocumented)
Const OLECMDID_SAVECOPYAS = 5 (undocumented)
Const OLECMDID_SELECTALL = 17 (&H11) (undocumented)
Const OLECMDID_SETDOWNLOADSTATE = 29 (&H1D) (undocumented)
Const OLECMDID_SETPRINTTEMPLATE = 51 (&H33) (undocumented)
Const OLECMDID_SETPROGRESSMAX = 25 (&H19) (undocumented)
Const OLECMDID_SETPROGRESSPOS = 26 (&H1A) (undocumented)
Const OLECMDID_SETPROGRESSTEXT = 27 (&H1B) (undocumented)
Const OLECMDID_SETTITLE = 28 (&H1C) (undocumented)
Const OLECMDID_SHOWFIND = 42 (&H2A) (undocumented)
Const OLECMDID_SHOWMESSAGE = 41 (&H29) (undocumented)
Const OLECMDID_SHOWPAGESETUP = 43 (&H2B) (undocumented)
Const OLECMDID_SHOWPRINT = 44 (&H2C) (undocumented)
Const OLECMDID_SHOWSCRIPTERROR = 40 (&H28) (undocumented)
Const OLECMDID_SPELL = 9 (undocumented)
Const OLECMDID_STOP = 23 (&H17) (undocumented)
Const OLECMDID_STOPDOWNLOAD = 30 (&H1E) (undocumented)
Const OLECMDID_UNDO = 15 (undocumented)
Const OLECMDID_UPDATECOMMANDS = 21 (&H15) (undocumented)
Const OLECMDID_UPDATEPAGESTATUS = 48 (&H30) (undocumented)
Const OLECMDID_ZOOM = 19 (&H13) (undocumented)

SearchAssistantOC Omschrijving
Property ASProvider As String (undocumented)
Property ASSetting As Long (undocumented)
Property EventHandled As Boolean (undocumented)
Property InWebFolder As Boolean Returns true if the current folder is web folder
Property SearchAssistantDefault As Boolean property SearchAssistantDefault
Property SearchCompanionAvailable As Boolean (undocumented)
Property Searches As ISearches Get searches
Property ShellFeaturesEnabled As Boolean property ShellFeaturesEnabled
Property ShowFindPrinter As Boolean (undocumented)
Property UseSearchCompanion As Boolean (undocumented)
Property Version As Long (undocumented)
Sub AddNextMenuItem(ByVal bstrText As String,
		 ByVal idItem As Long)	
(undocumented)
Sub FindComputer (undocumented)
Sub FindFilesOrFolders (undocumented)
Sub FindOnWeb (undocumented)
Sub FindPeople (undocumented)
Sub FindPrinter (undocumented)
Sub NavigateToDefaultSearch (undocumented)
Sub NETDetectNextNavigate (undocumented)
Sub NotifySearchSettingsChanged (undocumented)
Sub PutFindText(ByVal FindText As String) (undocumented)
Sub PutProperty(ByVal bPerLocale As Boolean,
		 ByVal bstrName As String,
		 ByVal bstrValue As String)	
(undocumented)
Sub ResetNextMenu (undocumented)
Sub SetDefaultSearchUrl(ByVal bstrUrl As String) (undocumented)
Function EncodeString(ByVal bstrValue As String,
		 ByVal bstrCharSet As String,
		 ByVal bUseUTF8 As Boolean) As String	
(undocumented)
Function GetProperty(ByVal bPerLocale As Boolean,
		 ByVal bstrName As String) As String	
(undocumented)
Function GetSearchAssistantURL(ByVal bSubstitute As Boolean,
		 ByVal bCustomize As Boolean) As String	
(undocumented)
Function IsRestricted(ByVal bstrGuid As String) As Boolean (undocumented)
Sub OnNewSearch (undocumented)
Sub OnNextMenuSelect(ByVal idItem As Long) (undocumented)

SecureLockIconConstants Omschrijving
Const secureLockIconMixed = 1 (undocumented)
Const secureLockIconSecure128Bit = 6 (undocumented)
Const secureLockIconSecure40Bit = 3 (undocumented)
Const secureLockIconSecure56Bit = 4 (undocumented)
Const secureLockIconSecureFortezza = 5 (undocumented)
Const secureLockIconSecureUnknownBits = 2 (undocumented)
Const secureLockIconUnsecure = 0 (undocumented)

ShellBrowserWindow Omschrijving
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.
Property Container As Object Returns the container/parent automation object, if any.
Property Document As Object Returns the active Document automation object, if any.
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.
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.
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.
Property ReadyState As tagREADYSTATE (undocumented)
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
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.
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.
Sub ClientToWindow(pcx As Long,
		 pcy As Long)	
Converts client sizes into window sizes.
Sub ExecWB(ByVal cmdID As  OLECMDID,
		 ByVal cmdexecopt As  OLECMDEXECOPT,
		 [pvaIn],
		 [pvaOut])	
IOleCommandTarget::Exec
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.
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.
Sub PutProperty(ByVal Property As String,
		 ByVal vtValue)	
Associates vtValue with the name szProperty in the context of the object.
Sub Quit Exits application and closes the open document.
Sub Refresh Refresh the currently viewed page.
Sub Refresh2([Level]) Refresh the currently viewed page.
Sub ShowBrowserBar(pvaClsid,
		 [pvarShow],
		 [pvarSize])	
Set BrowserBar to Clsid
Sub Stop Stops opening a file.
Function GetProperty(ByVal Property As String) Retrieve the Associated value for the property vtValue in the context of the object.
Function QueryStatusWB(ByVal cmdID As OLECMDID) As OLECMDF IOleCommandTarget::QueryStatus
Sub BeforeNavigate2(ByVal pDisp As  Object,
		 URL,
		 Flags,
		 TargetFrameName,
		 PostData,
		 Headers,
		 Cancel As Boolean)	
Fired before navigate occurs in the given WebBrowser (window or frameset element). The processing of this navigation may be modified.
Sub ClientToHostWindow(CX As Long,
		 CY As Long)	
Fired to request client sizes be converted to host window sizes
Sub CommandStateChange(ByVal Command As Long,
		 ByVal Enable As Boolean)	
The enabled state of a command changed.
Sub DocumentComplete(ByVal pDisp As  Object,
		 URL)	
Fired when the document being navigated to reaches ReadyState_Complete.
Sub DownloadBegin Download of a page started.
Sub DownloadComplete Download of page complete.
Sub FileDownload(Cancel As Boolean) Fired to indicate the File Download dialog is opening
Sub NavigateComplete2(ByVal pDisp As  Object,
		 URL)	
Fired when the document being navigated to becomes visible and enters the navigation stack.
Sub NavigateError(ByVal pDisp As  Object,
		 URL,
		 Frame,
		 StatusCode,
		 Cancel As Boolean)	
Fired when a binding error occurs (window or frameset element).
Sub NewWindow2(ppDisp As  Object,
		 Cancel As Boolean)	
A new, hidden, non-navigated WebBrowser window is needed.
Sub OnFullScreen(ByVal FullScreen As Boolean) Fired when fullscreen mode should be on/off
Sub OnMenuBar(ByVal MenuBar As Boolean) Fired when the menubar should be shown/hidden
Sub OnQuit Fired when application is quiting.
Sub OnStatusBar(ByVal StatusBar As Boolean) Fired when the statusbar should be shown/hidden
Sub OnTheaterMode(ByVal TheaterMode As Boolean) Fired when theater mode should be on/off
Sub OnToolBar(ByVal ToolBar As Boolean) Fired when the toolbar should be shown/hidden
Sub OnVisible(ByVal Visible As Boolean) Fired when the window should be shown/hidden
Sub PrintTemplateInstantiation(ByVal pDisp As Object) Fired when a print template is instantiated.
Sub PrintTemplateTeardown(ByVal pDisp As Object) Fired when a print template destroyed.
Sub PrivacyImpactedStateChange(ByVal bImpacted As Boolean) Fired when the global privacy impacted state changes
Sub ProgressChange(ByVal Progress As Long,
		 ByVal ProgressMax As Long)	
Fired when download progress is updated.
Sub PropertyChange(ByVal szProperty As String) Fired when the PutProperty method has been called.
Sub SetSecureLockIcon(ByVal SecureLockIcon As Long) Fired to indicate the security level of the current web page contents
Sub StatusTextChange(ByVal Text As String) Statusbar text changed.
Sub TitleChange(ByVal Text As String) Document title changed.
Sub UpdatePageStatus(ByVal pDisp As  Object,
		 nPage,
		 fDone)	
Fired when a page is spooled. When it is fired can be changed by a custom template.
Sub WindowClosing(ByVal IsChildWindow As Boolean,
		 Cancel As Boolean)	
Fired when the WebBrowser is about to be closed by script
Sub WindowSetHeight(ByVal Height As Long) Fired when the host window should change its height
Sub WindowSetLeft(ByVal Left As Long) Fired when the host window should change its Left coordinate
Sub WindowSetResizable(ByVal Resizable As Boolean) Fired when the host window should allow/disallow resizing
Sub WindowSetTop(ByVal Top As Long) Fired when the host window should change its Top coordinate
Sub WindowSetWidth(ByVal Width As Long) Fired when the host window should change its width

ShellNameSpace Omschrijving
Property Columns As String (undocumented)
Property CountViewTypes As Long number of view types
Property Depth As Long (undocumented)
Property EnumOptions As Long options
Property Flags As Long (undocumented)
Property Mode As Empty (undocumented)
Property Root get the root item
Property SelectedItem As Object get the selected item
Property SubscriptionsEnabled As Boolean Query to see if subscriptions are enabled
Property TVFlags As Long (undocumented)
Sub Expand(ByVal var,
		 ByVal iDepth As Long)	
expands item specified depth
Sub Export method Export
Sub Import method Import
Sub InvokeContextMenuCommand(ByVal strCommand As String) method InvokeContextMenuCommand
Sub MoveSelectionDown method MoveSelectionDown
Sub MoveSelectionTo method MoveSelectionTo
Sub MoveSelectionUp method MoveSelectionUp
Sub NewFolder method NewFolder
Sub ResetSort method ResetSort
Sub SetRoot(ByVal bstrFullPath As String) old, use put_Root() instead
Sub SetViewType(ByVal iType As Long) set view type
Sub Synchronize method Synchronize
Sub UnselectAll unselects all items
Function CreateSubscriptionForSelection As Boolean method CreateSubscriptionForSelection
Function DeleteSubscriptionForSelection As Boolean method DeleteSubscriptionForSelection
Function SelectedItems As Object collection of selected items
Sub DoubleClick (undocumented)
Sub FavoritesSelectionChange(ByVal cItems As Long,
		 ByVal hItem As Long,
		 ByVal strName As String,
		 ByVal strUrl As String,
		 ByVal cVisits As Long,
		 ByVal strDate As String,
		 ByVal fAvailableOffline As Long)	
(undocumented)
Sub Initialized (undocumented)
Sub SelectionChange (undocumented)

ShellUIHelper Omschrijving
Sub AddChannel(ByVal URL As String) (undocumented)
Sub AddDesktopComponent(ByVal URL As String,
		 ByVal Type As String,
		 [Left],
		 [Top],
		 [Width],
		 [Height])	
(undocumented)
Sub AddFavorite(ByVal URL As String,
		 [Title])	
(undocumented)
Sub AutoCompleteAttach([Reserved]) (undocumented)
Sub AutoCompleteSaveForm([Form]) (undocumented)
Sub AutoScan(ByVal strSearch As String,
		 ByVal strFailureUrl As String,
		 [pvarTargetFrame])	
(undocumented)
Sub ImportExportFavorites(ByVal fImport As Boolean,
		 ByVal strImpExpPath As String)	
(undocumented)
Sub NavigateAndFind(ByVal URL As String,
		 ByVal strQuery As String,
		 varTargetFrame)	
(undocumented)
Sub RefreshOfflineDesktop (undocumented)
Sub ResetFirstBootMode (undocumented)
Sub ResetSafeMode (undocumented)
Function IsSubscribed(ByVal URL As String) As Boolean (undocumented)
Function ShowBrowserUI(ByVal bstrName As String,
		 pvarIn)	
(undocumented)

ShellWindowFindWindowOptions Omschrijving
Const SWFO_COOKIEPASSED = 4 Cookie Passed
Const SWFO_INCLUDEPENDING = 2 Include Pending
Const SWFO_NEEDDISPATCH = 1 Need Dispatch

ShellWindows Omschrijving
Property Count As Long Get count of open Shell windows
Sub OnActivated(ByVal lCookie As Long,
		 ByVal fActive As Boolean)	
Notifies the activation (undocumented)
Sub OnCreated(ByVal lCookie As Long,
		 ByVal punk As Unknown)	
Notifies on creation and frame name set (undocumented)
Sub OnNavigate(ByVal lCookie As Long,
		 pvarloc)	
Notifies the new location (undocumented)
Sub ProcessAttachDetach(ByVal fAttach As Boolean) Used by IExplore to register different processes (undocumented)
Sub Register(ByVal pid As  Object,
		 ByVal HWND As Long,
		 ByVal swClass As Long,
		 plCookie As Long)	
Register a window with the list (undocumented)
Sub RegisterPending(ByVal lThreadId As Long,
		 pvarloc,
		 pvarlocRoot,
		 ByVal swClass As Long,
		 plCookie As Long)	
Register a pending open with the list (undocumented)
Sub Revoke(ByVal lCookie As Long) Remove a window from the list (undocumented)
Function _NewEnum As Unknown Enumerates the figures
Function FindWindowSW(pvarloc,
		 pvarlocRoot,
		 ByVal swClass As Long,
		 pHWND As Long,
		 ByVal swfwOptions As Long) As Object	
Find the window based on the location (undocumented)
Function Item([ByVal index]) As Object Return the shell window for the given index
Sub WindowRegistered(ByVal lCookie As Long) A new window was registered.
Sub WindowRevoked(ByVal lCookie As Long) A new window was revoked.

ShellWindowTypeConstants Omschrijving
Const SWC_3RDPARTY = 2 3rd Party Browsers
Const SWC_BROWSER = 1 Various Browsing Windows
Const SWC_CALLBACK = 4 Creation Callback
Const SWC_EXPLORER = 0 Explorer

tagREADYSTATE Omschrijving
Const READYSTATE_COMPLETE = 4 (undocumented)
Const READYSTATE_INTERACTIVE = 3 (undocumented)
Const READYSTATE_LOADED = 2 (undocumented)
Const READYSTATE_LOADING = 1 (undocumented)
Const READYSTATE_UNINITIALIZED = 0 (undocumented)

WebBrowser Omschrijving
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.
Property Container As Object Returns the container/parent automation object, if any.
Property Document As Object Returns the active Document automation object, if any.
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.
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.
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.
Property ReadyState As tagREADYSTATE (undocumented)
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
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.
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.
Sub ClientToWindow(pcx As Long,
		 pcy As Long)	
Converts client sizes into window sizes.
Sub ExecWB(ByVal cmdID As  OLECMDID,
		 ByVal cmdexecopt As  OLECMDEXECOPT,
		 [pvaIn],
		 [pvaOut])	
IOleCommandTarget::Exec
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.
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.
Sub PutProperty(ByVal Property As String,
		 ByVal vtValue)	
Associates vtValue with the name szProperty in the context of the object.
Sub Quit Exits application and closes the open document.
Sub Refresh Refresh the currently viewed page.
Sub Refresh2([Level]) Refresh the currently viewed page.
Sub ShowBrowserBar(pvaClsid,
		 [pvarShow],
		 [pvarSize])	
Set BrowserBar to Clsid
Sub Stop Stops opening a file.
Function GetProperty(ByVal Property As String) Retrieve the Associated value for the property vtValue in the context of the object.
Function QueryStatusWB(ByVal cmdID As OLECMDID) As OLECMDF IOleCommandTarget::QueryStatus
Sub BeforeNavigate2(ByVal pDisp As  Object,
		 URL,
		 Flags,
		 TargetFrameName,
		 PostData,
		 Headers,
		 Cancel As Boolean)	
Fired before navigate occurs in the given WebBrowser (window or frameset element). The processing of this navigation may be modified.
Sub ClientToHostWindow(CX As Long,
		 CY As Long)	
Fired to request client sizes be converted to host window sizes
Sub CommandStateChange(ByVal Command As Long,
		 ByVal Enable As Boolean)	
The enabled state of a command changed.
Sub DocumentComplete(ByVal pDisp As  Object,
		 URL)	
Fired when the document being navigated to reaches ReadyState_Complete.
Sub DownloadBegin Download of a page started.
Sub DownloadComplete Download of page complete.
Sub FileDownload(Cancel As Boolean) Fired to indicate the File Download dialog is opening
Sub NavigateComplete2(ByVal pDisp As  Object,
		 URL)	
Fired when the document being navigated to becomes visible and enters the navigation stack.
Sub NavigateError(ByVal pDisp As  Object,
		 URL,
		 Frame,
		 StatusCode,
		 Cancel As Boolean)	
Fired when a binding error occurs (window or frameset element).
Sub NewWindow2(ppDisp As  Object,
		 Cancel As Boolean)	
A new, hidden, non-navigated WebBrowser window is needed.
Sub OnFullScreen(ByVal FullScreen As Boolean) Fired when fullscreen mode should be on/off
Sub OnMenuBar(ByVal MenuBar As Boolean) Fired when the menubar should be shown/hidden
Sub OnQuit Fired when application is quiting.
Sub OnStatusBar(ByVal StatusBar As Boolean) Fired when the statusbar should be shown/hidden
Sub OnTheaterMode(ByVal TheaterMode As Boolean) Fired when theater mode should be on/off
Sub OnToolBar(ByVal ToolBar As Boolean) Fired when the toolbar should be shown/hidden
Sub OnVisible(ByVal Visible As Boolean) Fired when the window should be shown/hidden
Sub PrintTemplateInstantiation(ByVal pDisp As Object) Fired when a print template is instantiated.
Sub PrintTemplateTeardown(ByVal pDisp As Object) Fired when a print template destroyed.
Sub PrivacyImpactedStateChange(ByVal bImpacted As Boolean) Fired when the global privacy impacted state changes
Sub ProgressChange(ByVal Progress As Long,
		 ByVal ProgressMax As Long)	
Fired when download progress is updated.
Sub PropertyChange(ByVal szProperty As String) Fired when the PutProperty method has been called.
Sub SetSecureLockIcon(ByVal SecureLockIcon As Long) Fired to indicate the security level of the current web page contents
Sub StatusTextChange(ByVal Text As String) Statusbar text changed.
Sub TitleChange(ByVal Text As String) Document title changed.
Sub UpdatePageStatus(ByVal pDisp As  Object,
		 nPage,
		 fDone)	
Fired when a page is spooled. When it is fired can be changed by a custom template.
Sub WindowClosing(ByVal IsChildWindow As Boolean,
		 Cancel As Boolean)	
Fired when the WebBrowser is about to be closed by script
Sub WindowSetHeight(ByVal Height As Long) Fired when the host window should change its height
Sub WindowSetLeft(ByVal Left As Long) Fired when the host window should change its Left coordinate
Sub WindowSetResizable(ByVal Resizable As Boolean) Fired when the host window should allow/disallow resizing
Sub WindowSetTop(ByVal Top As Long) Fired when the host window should change its Top coordinate
Sub WindowSetWidth(ByVal Width As Long) Fired when the host window should change its width

WebBrowser_V1 Omschrijving
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.
Property Container As Object Returns the container/parent automation object, if any.
Property Document As Object Returns the active Document automation object, if any.
Property Height As Long The vertical dimension (pixels) of the frame window/object.
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 Parent As Object Returns the automation object of the container/parent if one exists or this automation object.
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 Width As Long The horizontal dimension (pixels) of the frame window/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.
Sub Navigate(ByVal URL As String,
		 [Flags],
		 [TargetFrameName],
		 [PostData],
		 [Headers])	
Navigates to a URL or file.
Sub Refresh Refresh the currently viewed page.
Sub Refresh2([Level]) Refresh the currently viewed page.
Sub Stop Stops opening a file.
Sub BeforeNavigate(ByVal URL As String,
		 ByVal Flags As Long,
		 ByVal TargetFrameName As String,
		 PostData,
		 ByVal Headers As String,
		 Cancel As Boolean)	
Fired when a new hyperlink is being navigated to.
Sub CommandStateChange(ByVal Command As Long,
		 ByVal Enable As Boolean)	
The enabled state of a command changed
Sub DownloadBegin Download of a page started.
Sub DownloadComplete Download of page complete.
Sub FrameBeforeNavigate(ByVal URL As String,
		 ByVal Flags As Long,
		 ByVal TargetFrameName As String,
		 PostData,
		 ByVal Headers As String,
		 Cancel As Boolean)	
Fired when a new hyperlink is being navigated to in a frame.
Sub FrameNavigateComplete(ByVal URL As String) Fired when a new hyperlink is being navigated to in a frame.
Sub FrameNewWindow(ByVal URL As String,
		 ByVal Flags As Long,
		 ByVal TargetFrameName As String,
		 PostData,
		 ByVal Headers As String,
		 Processed As Boolean)	
Fired when a new window should be created.
Sub NavigateComplete(ByVal URL As String) Fired when the document being navigated to becomes visible and enters the navigation stack.
Sub NewWindow(ByVal URL As String,
		 ByVal Flags As Long,
		 ByVal TargetFrameName As String,
		 PostData,
		 ByVal Headers As String,
		 Processed As Boolean)	
Fired when a new window should be created.
Sub ProgressChange(ByVal Progress As Long,
		 ByVal ProgressMax As Long)	
Fired when download progress is updated.
Sub PropertyChange(ByVal Property As String) Fired when the PutProperty method has been called.
Sub Quit(Cancel As Boolean) Fired when application is quiting.
Sub StatusTextChange(ByVal Text As String) Statusbar text changed.
Sub TitleChange(ByVal Text As String) Document title changed.
Sub WindowActivate Fired when window has been activated.
Sub WindowMove Fired when window has been moved.
Sub WindowResize Fired when window has been sized.


Article ID:   W15659
File Created: 2003:05:13:11:29:24
Last Updated: 2003:05:13:11:29:24