A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

schedule task failed using VB in outlook2003



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 29th 06, 12:59 PM posted to microsoft.public.outlook.program_vba
Martin
external usenet poster
 
Posts: 87
Default 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
Ads
  #2  
Old August 31st 06, 06:05 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default 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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Schedule a task with recurrence and attached email [email protected] Outlook - General Queries 1 August 8th 06 04:48 PM
How do I drag a task in task list of Outlook. It will not let me. rpetralia Outlook - Calandaring 2 April 5th 06 11:14 AM
linking calender to task schedule Pi55 0ff ab0ut a11 the hoop5 Outlook - Calandaring 1 March 20th 06 09:48 PM
add schedule tab to a task form Luc Outlook - Using Forms 1 February 1st 06 12:48 AM
User cannot schedule new task Cheesel Outlook - General Queries 0 January 20th 06 06:56 PM


All times are GMT +1. The time now is 10:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.