Solved

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

Posted on 2002-06-07
5
305 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 100 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

Independent Software Vendors: 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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 this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

690 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