Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook2000 - Logout Automatically

Status
Not open for further replies.

Wulfdog

MIS
Feb 19, 2001
88
US
Is there a way to logout of email (close it) automatically from a command line?

We have users log into pcAnywhere over the internet. When they log off of pcAnywhere, we don't want to log off the user because it then would close a program that we don't want to be closed. So, I have unchecked the boxes so that it will not do that.

So, when someone logs into pcAnywhere, I will have a script that will log off the previous user, but I don't know how to log off the user from Email.

We are using Outlook2000 and Exchange Server 2000. I don't want to do an inactivity timeout from the Exchange server becuase the user might have it open on his/her desktop.

Does anyone know of a possible way I can do this?

Thanks

Nick
 
I found a way to do it.

All I had to do is write a SMALL routine in VB.

I created a VB form, when it was opened, I had it performed the following: Outlook.Application.Quit
After that, I just automatically close the form.

That is all there was. I didn't know there was a Outlook 9.0 Object Library to use as a reference.

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top