Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What's the name of the TypeLib for Word

Posted on 1998-04-20
4
Medium Priority
?
208 Views
Last Modified: 2010-07-27
Hi.
About the previous questions about OLE Delphi and Word.

I want to use the _Document interface. What's them name for

Office 97?
Office 4.2?
0
Comment
Question by:dr_gonzo
[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 1

Expert Comment

by:Edo082297
ID: 1335522
Hi Dr_Gonzo,

   The Pascal translations of the interfaces to all the objects used in Excel or Word are found in the files created by importing MSWORD8.OLB. To import the type libraries, you can select Project | Import Type Library from the Delphi menu, and then select the appropriate type library. A Delphi translation of the type library will be created automatically. (Be sure you are using Delphi 3.01 or later when importing the type library, as some important fixes were made to this technology between Delphi 3.0 and Delphi 3.01.). When working with Office 97, you want one with an OLB extension. The file to use with Word is MSWORD8.OLB. I don't know what the file is for Office 4.2, but try importing those with a TLB or EXE extension. (You can find these entries in the ...\Microsoft Office\Office directory). There will be a number of warnings at the top of the type library, but you can ignore them.
   You can also read the type library with a third party tool, such as the OleView application that ships with the Microsoft SDK.
   
HTH!

Edo
0
 

Author Comment

by:dr_gonzo
ID: 1335523
Well well. That was even more than I was asking for, post it as an answer instead and you'll have your points. (Not that it was many but they were my last :-))
0
 
LVL 1

Accepted Solution

by:
Edo082297 earned 0 total points
ID: 1335524
Thanks, Dr_Gonzo. If you want to give me more, I won't complain!!!  ;-)

Edo
0
 

Author Comment

by:dr_gonzo
ID: 1335525
I wish to but as I sad, those were my last available points.

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

688 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