Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Programmatic  Identifier for Word 97 ver 8.0

Posted on 1997-09-22
4
Medium Priority
?
199 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 50 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

719 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