Word Automation Problem

M

Mehran Ziadloo

Hi,
I'm a newbi in office automation and I've got two problems which stoped me
right at the beggining.
First one is that I don't know where to find a reference manual for classes
that I have to work with from Type Libraries! As you know there's a complete
set of them and just adding them to my project makes me confused, I don't
know what to do if there's no reference for them!?
Secondly, I'm trying to work with MS Word 2003, and that when I call
CreateDispatch("Word.Application"), no matter what it always returns false.
What could be the reason since it's the first step!
To give you more information I'm using VC++ 7.0 in VS.Net 2003.

Thanks alot,
Mehran Ziadloo
 
M

Mehran Ziadloo

Thanks, you're right, that was the problem.
But what about my other question? Is there any reference manual describing
the Office Automation Type Library Classes?
 
M

Manugautam77

i dunno abt the second one, but it depends wat excatly you want to do ?
if u can tell me i may help you on that
--Manu
 
P

Peter Blommendaal

If you're in a Word document:

ALT + F11 will start the VBA editor, then go to Help-> Microsoft Visual
Basic help (F1)



There is a Microsoft Word VB reference, VB documentation and Office
documentation.



You can also find these .chm files in your Office directory.



Peter
 
C

Cindy M -WordMVP-

Hi Mehran,
Is there any reference manual describing
the Office Automation Type Library Classes?
The Office object model is fully described in the VBA Help
files for the Office application. So you could open the
Office application you're automating, press Alt+F11, and
access the Help from within the VBA IDE.

I believe the entire set of files is also available on the
MSDN website. Check in the Office Developer section.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 

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

Top