Where do I find what methods and properties of internet explorer are
available for use in vbscript within html pages?

Ken

Re: Controlling Internet Explorer by McKirahan

McKirahan
Sun Nov 06 13:00:45 CST 2005

"The Shaffer s" <noemail@junk.com> wrote in message
news:BF93B9B5.31BF%noemail@junk.com...
>
> Where do I find what methods and properties of internet explorer are
> available for use in vbscript within html pages?
>
> Ken
>

Here's some of them:

Dim objIEA
Set objIEA = CreateObject("InternetExplorer.Application")
objIEA.ToolBar = 0
objIEA.StatusBar = 0
objIEA.Width = 330
objIEA.Height = 180
objIEA.Left = 0
objIEA.Top = 0
objIEA.Visible = True
objIEA.Navigate "about:blank"
While objIEA.Busy
Wend
objIEA.Document.Body.InnerHTML = "<b>Hello World</b>")



Re: Controlling Internet Explorer by mayayana

mayayana
Sun Nov 06 13:14:08 CST 2005

There's the IE object, and then there's
the Document Object Model for a given
page in IE. The DOM is vast, quirky,
and requires explanation for most methods if
you haven't used them before. The DOM
can be found in MSHTML.TLB if you have
an object browser (or MSHTML.DLL on some
systems), but that only provides methods and
properties; no explanations.
The only thorough documentation is MSDN,
but unless you have the MSDN help installed
locally it's not of much value. There are just too
many hundreds of webpages that you'd have to
find and copy.

------------------------
This might be helpful, even though it's not a
full reference. It's a script-based WYSIWYG
HTML editor, made with VBS and webpages,
and intended to demonstrate a large number
of both IE and DOM functions:

http://www.jsware.net/jsware/scripts.php3#domed
-----------------------

The IE object model is found in SHDOCVW.DLL.
The full listing for IE4 follows. There are probably a
few things missing in this list that are in IE5, but
IE4 and IE5 don't vary from each other dramatically.

-----------------------
Properties

AddressBar, Application, Busy, Container, Document, FullName, FullScreen,
Height, HWND, Left, LocationName, LocationURL, MenuBar, Name, Offline,
Parent, Path, ReadyState, RegisterAsBrowser, RegisterAsDropTarget,
Resizable, Silent, StatusBar, StatusText, TheaterMode, ToolBar, Top,
TopLevelContainer, Type, Visible, Width


Methods

ClientToWindow, ExecWB, GetProperty, GoBack, GoForward, GoHome, GoSearch,
Navigate, Navigate2, PutProperty, QueryStatusWB, Quit, Refresh, Refresh2,
ShowBrowserBar, Stop


Events

BeforeNavigate2, CommandStateChange, DocumentComplete, DownloadBegin,
DownloadComplete, NavigateComplete2, NewWindow2, OnFullScreen, OnMenuBar,
OnQuit, OnStatusBar, OnTheaterMode, OnToolBar, OnVisible, ProgressChange,
PropertyChange, StatusTextChange, TitleChange

---------------
--
mayayanaXX1a@mindXXspring.com
(Remove Xs for return email.)
The Shaffer s <noemail@junk.com> wrote in message
news:BF93B9B5.31BF%noemail@junk.com...
>
> Where do I find what methods and properties of internet explorer are
> available for use in vbscript within html pages?
>
> Ken
>



Re: Controlling Internet Explorer by mr_unreliable

mr_unreliable
Tue Nov 08 12:24:41 CST 2005

While the listing is what you asked for, I can't see the value
of a listing without a full discussion of the various methods
and properties.

Yes, the names of the methods and properties is generally
descriptive, but unless you are extremely gifted as a programmer
you are not going to be able to figure out how to use IE
and/or html from the typelib, you are going to need a textbook
or msdn.

I suggest your local (college or civic) library. Even a
small-town lib will probably stock several texts on how to
write html. MSDN is good for details, but not overall
explanations and sample code (imho).

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)