?
Solved

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

Posted on 2002-06-07
5
Medium Priority
?
307 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
[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
5 Comments
 
LVL 27

Expert Comment

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

meikl ;-)
0
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 7064110
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
ID: 7066153
code above seems familiar ;)
0
 
LVL 44

Accepted Solution

by:
bruintje earned 300 total points
ID: 7067909
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
ID: 7166136
      Sorry fot Took it so Long...Anyway, I found it myself useful. Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
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

764 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