Solved

What's the name of the TypeLib for Word

Posted on 1998-04-20
4
199 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks, Dr_Gonzo. If you want to give me more, I won't complain!!!  ;-)

Edo
0
 

Author Comment

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

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now