By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,630 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,630 IT Pros & Developers. It's quick & easy.

COM Help

P: n/a
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 Gr***********@acxiom.com

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.
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.
--
Dale Strickland-Clark
Riverhall Systems Ltd, www.riverhall.co.uk
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.