Solved

What's the name of the TypeLib for Word

Posted on 1998-04-20
4
203 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
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

773 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