Automation problem with VStudio .Net

P

pistonep

Hi,
first I want to apologize for my poor english syntax and vocabulary :).
I hope that it will not repel some of you to help me.
I m actually trying to code a C++ application (with MFC) whose role
will be to automate mail merging with word
I m using VS .Net and Office 2003.
Every documentation I found on Internet (even MSDN one) describe a
simple manipulation to do that :
Open class wizard (or Add Class with VS.Net).
Choose class from typelib (MSWORD8 or 9.Old ...MSWORD.OLB for Office
2003)
Choose every class found in the Olb file and add them in the
application

here everything is working fine.
Then the first problem.
Every doc tell me to add the "msword.h file.
The problem is that I do not have such file and no .h file has been
generated !
So I try to pass this step and cut/copy code liste in MSDN for exemple.
"_Application oApp;"
Don t work..of course...trying to include ("Capplication.h" generated
by the old file)...not working with many error...
Now I am here and I don t know what to do. I havn t found a single
example of process to automated word with Office 2003 and VS.Net

I hope someone will help and guid me through all the first step of
automation.

Thanks in advance,
Rgds,
PP
 

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