banduwgs has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to develop summery db of existing user mail content. It was faily success. Still I suffer with following primary problem.
I can not connect the existing instance of the Outlook application. When I use following piece of code:
if ($outlook = Win32::OLE->GetActiveObject('Outlook.Application')) { print "Try 1 : Success!\n"; } else { print "Try 1 : Failed!\n"; } if ($outlook = Win32::OLE->new('Outlook.Application')) { print "Try 2 : Success!\n"; } else { print "Try 2 : Failed!\n"; }
Output comes as:
Try 1 : Failed!
Try 2 : Success!
I am using Outlook 2000 on Windows 98 SE platform. Thanks in advance for all of you can clarify this problem for me here...
|
|---|