COM Help

  • Thread starter Lindstrom Greg - glinds
  • Start date
L

Lindstrom Greg - glinds

I have been working with the Windows MAPI material trying to understand what
is going on. There appears to be a lot of code out there showing how things
work (kind of) but very little documentation on *why* things happen. After
some searching and reading on google (google *is* my friend) I have run
makepy and generated the files for Outlook. My question is can I use the
com browser to tell me what is happening when I issue:

outlook = Dispatch("Outlook.Application.9")

and why do I have the ".9" on the end of the app string? Then what is this?

namespace = self.outlook.GetNamespace("MAPI")

and what are the methods associated with it. Again, I'm wanting to know how
I get this information (though if you just want to answer my questions I
will be glad to listen). Once I have an understanding of what's going on, I
will try to write a tutorial (unless one is written, in which case I really
want to get my hands on it). I really want to learn how to fish rather
than....well, you know. I've spend a few hours reading documentation at
microsoft.com and came away with little more than a headache.

Thanks for your help.

Greg Lindstrom, IBCATS Development
Acxiom Corporation
(501) 342-1626 (e-mail address removed)

We who cut mere stones must always be envisioning cathedrals. -- Quarry
Worker's Creed





**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.
 
D

Dale Strickland-Clak

Lindstrom Greg - glinds pushed the bounds of literature with:
I have been working with the Windows MAPI material trying to
understand what is going on. There appears to be a lot of code out
there showing how things work (kind of) but very little documentation
on *why* things happen. After some searching and reading on google
(google *is* my friend) I have run makepy and generated the files for
Outlook. My question is can I use the com browser to tell me what is
happening when I issue:

outlook = Dispatch("Outlook.Application.9")

and why do I have the ".9" on the end of the app string? Then what is
this?

namespace = self.outlook.GetNamespace("MAPI")

The .9 is the version of the object model. "Outlook.Application" is
adequate unless you particularly want an older version. By default, you
get the latest, I think.

I can't pretend to understand the intricacies of MAPI but manage to get
by with the MS documentation - of which there is an abundance. Try
looking on msdn.microsoft.com.

If you want a copy of a little Python program I have which calls Outlook
to get contact details, let me know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help 1
COM Server data from python 1
Help accessing COM .dll from Python 1
Troubles with Fullpage / please help 0
Need Help 2
Automate Grabbing Email From Outlook On Shared Folder 0
Need help 2
Help please 8

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top