Get CreateObject (....) properties, and methods.


Example:     Set IE = CreateObject("InternetExplorer.Application")

How do I get names of properties and methods of IE object?

The only way I know how to get them is to google, and hope objects are documented.    
For example:

But I want to know how I can get those names without having to depend on documentation.

LVL 11
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Visual Studio 6.0 supplies the OLE Viewer. It can be found online at:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
you cant get the properties when create an object at runtime at design time.

if you add the Microsoft Internet Controls control you can use F2 to browse all the properties for reference.
If you early bind it, you would then get Intellisense.
Create a reference to shdocvw.dll and instead of

    Dim IE AS Object
    Set IE = CreateObject("InternetExplorer.Application")


    Dim IE As InternetExplorer
    Set IE = New InternetExplorer
when you create the IE instance like this:

Dim IE as Variant

Set IE = CreateObject("InternetExplorer.Application")

you are using what is known as LATE BINDING, so that you are actually creating the specific object at RUNTIME.  As sunce, the Compiler has no clue whatsoever, what KIND of thing you are going to create until you actually create it (AT RUN-TIME).  Thus, it is not possible for intellisense (which exposes the methods and properties of the objects that you declare in your code) to know, beforehand, what could possibly be the methods and/or propertoies of the IE object that you have declared in your code.  In order to get Intellisense, you MUST use EARLY BINDING - that is, declare the IE object as a REAL type, so the compiler can look at the TypeLib, and expose the properties and methods found there, BEFORE the program is compiled or executed.

dbrckoviAuthor Commented:
Thanks MaximKammerer!
This is exactly what I wanted. If it would only have some search option, it would be perfect.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.