classes in WIN32OLE

C

chen li

Hi all,

There are so many pre-assumptions when using WIN32OLE
library. Can anyone out there briefly explain the
relation among the classes and modules in it?

Thanks,

Li



____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
 
N

nlloyds

WIN32OLE basically provides an interface to the OLE type libraries in
Windows, so you're going to want to be able to see what classes,
methods, and properties those libraries provide.

If you plan on doing work with Microsoft Office applications the best
thing to do would be to open an app (Excel, for example), go to Tools
=> Macro => Visual Basic Editor, Then go to View => Object Browser
(make sure you have a document open in the Office app, or nothing will
show up.) There you can see everything available to the object you've
created (i.e. WIN32OLE.new('excel.application')).

This program:
http://homepage1.nifty.com/markey/ruby/win32ole/index_e.html allows you
to browse other type libraries, and I believe there are other apps
available to view this information.

Hope that helps.

Thanks,

Nate
 
L

Li Chen

WIN32OLE basically provides an interface to the OLE type libraries in
Windows, so you're going to want to be able to see what classes,
methods, and properties those libraries provide.
Nate

Hi Nate,

When I read the document about this library I see several classes as
follows

Classes

OLEProperty
WIN32OLE
WIN32OLE::VARIANT
WIN32OLERuntimeError
WIN32OLE_EVENT
WIN32OLE_METHOD
WIN32OLE_PARAM
WIN32OLE_TYPE
WIN32OLE_VARIABLE

I know WIN32OLE is a big player for this library. But how about the
others? What are their roles and the relation with WIN32OLE? I would
like to someone or you get a very quick introduction.

Thanks,

Li
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,219
Messages
2,571,122
Members
47,743
Latest member
henrywalker

Latest Threads

Top