Solved

Programmatic  Identifier for Word 97 ver 8.0

Posted on 1997-09-22
4
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MongoDB Through a MySQL Lens

This article looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

623 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