Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   schedule task failed using VB in outlook2003 (http://www.outlookbanter.com/outlook-vba/25425-schedule-task-failed-using-vb.html)

Martin August 29th 06 11:59 AM

schedule task failed using VB in outlook2003
 
I have write a VB script to send a Email. (using redemption as workaround for
Security Patch)
It works when I execute it directly.
But when I put it into a WinXP scheduler, it display "Error in
IMAPISession::OpenMsgStore... "
I have outlook logon all the time. (via rpc/https)

Pls help...
Q1. It may be redemption problem ?
Q2. anyway to start outlook with predefined profile & passwod
Q3. any schedule issues ?

--
br,
martin

Eric Legault [MVP - Outlook] August 31st 06 05:05 PM

schedule task failed using VB in outlook2003
 
It's not supported to automate Outlook from script that's run via the Task
Scheduler:

The Outlook Object Model is unsuitable to run in a Windows service:
http://support.microsoft.com/default...b;en-us;237913

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"martin" wrote:

I have write a VB script to send a Email. (using redemption as workaround for
Security Patch)
It works when I execute it directly.
But when I put it into a WinXP scheduler, it display "Error in
IMAPISession::OpenMsgStore... "
I have outlook logon all the time. (via rpc/https)

Pls help...
Q1. It may be redemption problem ?
Q2. anyway to start outlook with predefined profile & passwod
Q3. any schedule issues ?

--
br,
martin



All times are GMT +1. The time now is 01:35 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com