Solved

How to find Reference Documents Reveal OLE of Word, Excel interface...

Posted on 2002-06-07
5
298 Views
Last Modified: 2010-04-04
     I've been wondering that in code shown below, where can I find any Document or Reference Docs reveal all interface to Microsoft word, Excel?
Code:
...
var wrdApp : Variant;
begin
...
 wrdApp := CreateOleObject('Word.Application');
 wrdApp.Visible := True;
 // Create a new document
 wrdDoc := wrdApp.Documents.Add();
 wrdDoc.Select;

 wrdSelection := wrdApp.Selection;
 wrdMailMerge := wrdDoc.MailMerge;
...
  That is to interface with MS Word using OLE, I have to know internal function of OLE for example
 wrdDoc := wrdApp.Documents.Open('C:\Yahoo.doc');
  If I don't know what function or procedure wrdApp.Documents have (in this example Open() is one of those functions), then I don't know how to even open MS word documents. Tell me where reference site, Ducuments I can download such full reference object function...Please
0
Comment
Question by:DOOM_DAEMON
5 Comments
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
look at the visual basic for applications help,
which is included by each office-product

meikl ;-)
0
 
LVL 22

Expert Comment

by:mnasman
Comment Utility
alos you could many info here
http://www.microsoft.com/officedev/articles/Opg/toc/pgtoc.htm
the could in visual basic, but it's easy to translate to delphi, I use that site when I need some info about the automation
0
 
LVL 14

Expert Comment

by:DragonSlayer
Comment Utility
code above seems familiar ;)
0
 
LVL 44

Accepted Solution

by:
bruintje earned 100 total points
Comment Utility
in every office product

-use ALT+F11 which brings up the VB Editor
-then hit F2 which opens the obejct browser
-all you need is there compelte object models, methods etc...
-F1 on these will bring up the help + samples
-BUT VBA for office help files are not standard installed you've to install them explicitly if they're not installed with te standard install

HAGD:O)Bruintje
0
 
LVL 1

Author Comment

by:DOOM_DAEMON
Comment Utility
      Sorry fot Took it so Long...Anyway, I found it myself useful. Thanks.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

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

8 Experts available now in Live!

Get 1:1 Help Now