How can I detect when the Outlook Send and Receive process is completed using VBScript or VB? Basically I have a program that needs to wait until the Outlook profile is completely synchronized before I can run a part of my code. Any idea how to detect that? This is comunicating with an exchange server.
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


I think your best option is to explore the Outlook Object Model and see if there's a method for kicking that process off. As you probably know from using Outlook, if you select 'Send/Receive' while it's already running, Outlook ignores your request so it should be safe to set it going in code. Then, presumably, the method returns a success or failure value.

Try has responded to emails from me in the past reasonably quickly, certainly within 24 hours.
Answered 10/02/2007 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity