Information générale
Catégorie:
Applications Internet
>Hello,
> I'm writing a program that is supposed to log a user into outlook, delete all of their messages, then log out again. I am doing this from a table, and have over three hundred users whose messages need to be cleared with this cycle. The only problem is, I can't get outlook to logoff after deleting a users message, so it is never able to start the next user. My question is simple, how can I use visual foxpro to logoff an outlook user and exit the program. Just wondering if anyone has any hints or tips on the subject.
>
>Thanks
>
>Kent Floros
>Ripon Community Printers
Check out the Namespace object in Outlook. It has methods for logging on and off. You can get a reference to it by using the GetNamespace() method of the application object.
The methods are Logon and Logoff. HTH
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement