Automating anything from MS Office Suite (Word, Excel, Access, Outlook,
Powerpoint or FrontPage) is always going to be painful and buggy.  These
programs are not capable of providing robust unattended functionality.  They
raise dialog boxes indiscriminately, often make themselves visible on the
currently active desktop regardless of the Visible property, require many
undocumented permissions, and can corrupt their state files, requiring
manual intervention to reset them.

Has this scared you enough yet? ;-)

jpt

> -----Original Message-----
> From: Norris, Joseph [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 12:00 PM
> To: 'Mark Sutfin'; 'Martin Bower';
> '[EMAIL PROTECTED]'
> Subject: RE: Win32::OLE accessing outlook subfolders
> 
> 
> Mark,
> 
> My experments with this have been - ah - painful (yes that's the right
> word). On problem I have with any of this is that whenever I 
> access outlook
> via ole, outlook comes back with a dialog box letting me know 
> that someone
> other than me is trying to access my stuff ( even though it 
> IS ME! ) and
> request that I give it the ok to allow this. This will never 
> make it under
> my automation plan.  Any ideas on how to stop this?
> 
> Thanks to all.
> 
> 
> -----Original Message-----
> From: Mark Sutfin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 8:50 AM
> To: 'Martin Bower'; '[EMAIL PROTECTED]'
> Subject: RE: Win32::OLE accessing outlook subfolders
> 
> 
> On Tuesday, 09/24/2002, Martin Bower wrote:
> :Hi,
> :The script below will access Outlook 98, and give me a list 
> of items in my
> :Inbox.  I would like to ammend this so I can see what 
> sub-folders I have
> :below Inbox, and scroll through their contents as well.  
> :Can anyone point me in the right direction of how to achieve this ?
> :I've trailed through most of the documentation I could find 
> online, but
> :couldn't find anything that was more specific about calls etc.
> :any help would be greatly appreciated.
> 
> Martin,
> 
> I've been trying to read the global address list for months now, to no
> avail. In my travels, I ran across this from the Microsoft 
> Visual Basic Help
> within Outlook. Seems like it's what you want. (If you have 
> Outlook, you can
> use the Object Browser under 'View' to look at the objects, their
> properties, methods and examples) This is from the help for 
> "MAPIFolder
> Object"
>  
> <A MAPIFolder Object> Represents an Outlook folder. A 
> MAPIFolder object can
> contain other MAPIFolder objects, as well as Outlook items. 
> You can navigate
> nested folders by using a combination of Folders(index), 
> which returns a
> folder within a name space or another folder, and the Parent 
> property, which
> returns the containing object.
> 
> HTH,
> Mark
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to