Solved

Programmatic  Identifier for Word 97 ver 8.0

Posted on 1997-09-22
4
196 Views
Last Modified: 2013-11-19
I used the class wizard to generate a class from the Word object library. Can anyone please tell me the progarmatic identifier for Word 97 ver 8.0 which is the argument  in the CreateDispatch function. Or Is there any other way I can access Word from VC++ ver 5.0.
0
Comment
Question by:jyoti090497
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
davmarc earned 25 total points
ID: 1306717
The string you need to use with CreateDispatch() is "Word.Application.8".

Davide Marcato.
0
 

Author Comment

by:jyoti090497
ID: 1306718
Thanks Davide. Now I have another problem, after CreateDispatch when I call the Activate function it returns a message saying "Cannot Activate Appplication". What could be the problem.Any help is welcome.
Thanks again
Jyoti
0
 
LVL 4

Expert Comment

by:davmarc
ID: 1306719
Sorry, I've never encountered that error message. You'd better post another question about this new topic.

Davide Marcato.
0
 

Author Comment

by:jyoti090497
ID: 1306720
The above problem is solved, I had'nt set the visible property to true. But I have now something new.
In the wrapper class for Documents , there is a function called Open which takes 10 parameters, How do we specify the Format parameter. What is the equivalent of wdOpenFormatAuto used in VisualBasic in VC++.I need to get the bookmarks in a document given the name of the document.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ODBC Connection Logging, ADO.NET 6 71
sum28 challenge 31 117
twoTwo  challenge 35 112
c++  placing data into a form and an editbox 5 21
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question