Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 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