Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Programmatic  Identifier for Word 97 ver 8.0

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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

824 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