Hello
I often see a VBScript line like so
Set myObject = GetObject("some object"

But how do you know the methods of "some object"? Is this documented anywhere

For example, if I wanted to open up Internet Explorer and save the HTML page, how could I find if the IExplore even has these methods, something like
Set myObject = GetObject("IExplore"
myObject.URL = "www.myPage.com
myObject.SaveAs("c:\temp\myPage.htm"

Is there any way to know which methods I can call on an object from GetObject

Thanks
Mark

Re: methods of GetObject(...) by Joe

Joe
Tue Feb 10 09:16:25 CST 2004

Hi,

"Mark" <anonymous@discussions.microsoft.com> wrote in message
news:CDC35464-4D34-4145-8799-499D0BCCA309@microsoft.com...
| Hello,
| I often see a VBScript line like so:
| Set myObject = GetObject("some object")
|
| But how do you know the methods of "some object"? Is this documented
anywhere?
|
| For example, if I wanted to open up Internet Explorer and save the HTML
page, how could I find if the IExplore even has these methods, something
like:
| Set myObject = GetObject("IExplore")
| myObject.URL = "www.myPage.com"
| myObject.SaveAs("c:\temp\myPage.htm")
|
| Is there any way to know which methods I can call on an object from
GetObject?

To search the available COM objects on your computer and their available
methods and properties, take a look at Mark Pryor's great freeware object
browser (COM tool): TLViewer.

http://mysite.verizon.net/res1ur2j/tlviewer.htm

Joe Earnest



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 01-19-04