What are the app names for "CreateObject"?

I've done some cool automated things with Word using VB.  My codes starts like this:

Dim MyApp as Object
Set MyApp = CreateObject("Word.Application").

Where can I get a list of application names that can be used with "CreateObject"?



QwentoAsked:
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.

vbWayneCommented:
look in references and components
0
crazymanCommented:
search through the registry for
VersionIndependentProgID
and ProgID this tells you some object that can be created.
0
QwentoAuthor Commented:
Thanks but I searched the entire registry and found no entries for:

VersionIndependentProgID
or
ProgID


PS I'm using OS Windows NT4.


0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

sudhi022299Commented:
Qwento the CreateObject() is used to instantiate an object of a particular class.
Like what you did "CreateObject('Word.Application')" is one eg of it. This line would mean that you are creating an object of the class "Application" which is present in "Word" application.

First thing is you have to find out what apps are intalled in your machine. Also you need to know what classes inside these applications u can use.

Searching the registry in one way to find out , but that doesn't tell you whether you can use it or not.

Regards,
Sudhi.
0

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
Éric MoreauSenior .Net ConsultantCommented:
Almost everything that you find in the References menu item (fom Project) can be used with the CreateObject statement.

But, not all of them have cool features and you have to find how to use them. A way to spy component is to lock at the Object Browser after referencing the component.
0
sudhi022299Commented:
Using Object Browser is the best bet.

Regards,
Sudhi.
0
rondeaujCommented:
put an OLE container on your form. It will bring up a list of objects you can create.
0
QwentoAuthor Commented:
Good.  I now know how to structure the CreateObject method.  It just doesn't tell me where I can find the exact application names to use, which I found in other answers.
0
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.