Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic poller
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00509099
Message ID:
00510213
Views:
29
Larry,
That makes sense now and thanks again for your help

Regards,

Gerard



>>Larry,
>>Thanks for code . It will take me a while to digest it , which I hope to do in the next few days.
>>
>>Just one thing I am not 100% clear on.
>>
>>What is the differencr between :-
>>(a) Creating an Object Refernce to Outlook(e.g By doing something like ...OutApp=CreateObject("Outlook.application") and then querying its properties
>>and
>>(B) Using VFPCom as you suggest.
>>
>>I've used Excel in this way before so am familiar with it.
>>
>>
>>Regards,
>>
>>Gerard
> The difference is that you will be able to respond to user actions in Outlook as soon as they occur. Querying properties is not the same and there is a timing issue you would have to overcome.
>
>Polling every X seconds opens you up to missing something importnat you might want to trap for. For example, if you want to trap for receiving new mail, you have to poll the Inbox for messages that have not been read at certain time intervals. If the user happens to receive and read the message before you get it, it is no longer new so you missed it. Depending on your timer interval, this could be a remote circumstance. But increasing the frequency of your polling could also hog valuable resources. Using the "bound" objects alleviates any need to waste processor time on unnecessary polling.
>
>Just my thought.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform