Solved

How to prevent users from closing Outllok

Posted on 2011-03-09
4
748 Views
Last Modified: 2012-05-11
Hi All,

I'm not sure if it is possible to do this but thought I would ask the experts :-)!!! I have installed Microsoft Lync on my domain and am currently testing it's possibilities. I would like to implement it across our college and allow both staff and students to use it. One of the useful features would allow staff to make appointments with students, which would then be inserted into the outlook calendar and there in lies my problem. A lot of our students rarely use their college email and if they do they always close it after they have checked it. When a student logs on I want outlook to load automatically, which is the easy part, however I want to prevent users from closing it. Ideally if they click the X button I would like it to be minimised so they still get reminders for appointments etc..., however if this is not possible I would try any alternate that prevents them from closing it.

Does anyone have any good suggestions on how to do this?

Thanks

Natalie
0
Comment
Question by:brookesm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
OP_Zaharin earned 250 total points
ID: 35080491
there is a tool call OLKeeper 2.0 that prevent this where you can set how outlook should react when user click the 'X' button - http://www.vboffice.net/product.html?lang=en&cmd=detail&id=2005041&pub=32
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 35080616
It is possible with some scripting ... biggest issue is it will automaticaly retart outlook and therefore how do you close outlook when you want to shutdown cleanly?

Chris
0
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 35081186
For info my suggestion involves automatically re-opening outlook when it is closed, the mechanism is illustrated below along with a link to the main part of the concept.

The issue as I said is however the act of shutting down which would display warnings associated with a shutdown ... but which is unavoidable I think in teh context.

Chris
http://stackoverflow.com/questions/2852987/vba-stop-program-from-quitting-minimize-instead

Private Sub Application_Quit()
    Call shell("C:\Program Files\Microsoft Office\OFFICE11\relaunchOL.bat")
End Sub

Private Sub Application_Startup()
    Application.ActiveWindow.WindowState = olMinimized ' Minimise
End Sub

C:\Program Files\Microsoft Office\OFFICE11\relaunchOL.bat
===============================================================
Ping 1.2.3.4 -n 1
"C:\Program Files\Microsoft Office\OFFICE11\outlook.exe"

Open in new window

0
 
LVL 76

Expert Comment

by:David Lee
ID: 35081827
The StackOverflow solution, and possibly OLKeeper, will only work if Outlook is shutdown through Outlook's own interface.  I imagine that when a student or staff member closes Outlook and sees that it's still running, i.e. by the icon in the system tray, they'll go to Task Manager and kill it.  I know I would.  Killing the app will prevent the code that restarts it from running.

While not perfect I believe the best solution is a simple Windows service that uses WMI to see if Outlook is running at some regular interval (e.g. 1 minute).  If the service finds that Outlook is not running, then it can relaunch it.  Of course a service can be stopped or set to never run, which would defeat this solution.  However, a service is less obvious and it could employ a name that would make it difficult to identify.

What version of Windows are you using?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Office 365 Install Issues 3 62
Access 2010 7 45
Hash on Excel 13 43
Need adjust data counting 17 16
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question