![]() |
Detecting if a HTML page is being view via Outlook
If a HTML page is set as a folder's home page, is there a way to detect that
it is being viewed via Outlook and then access the Outlook object model via code in the page? Now that the folder home page featuring the Outlook View Control is up and running, I'm looking at giving my users a means to setup various options. I can now programmically switch the folder home page from the OVC page to one that will displays the setup options. However, to switch back I need access to the Outlook OM in order to change the folder home page back. Right now, I've got a OVC on the setup page with it hidden (style="display:none;") |
Detecting if a HTML page is being view via Outlook
That's what I'd do: Put an OVC on the setup page, hidden, and use its OutlookApplication object.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "dch3" wrote in message ... If a HTML page is set as a folder's home page, is there a way to detect that it is being viewed via Outlook and then access the Outlook object model via code in the page? Now that the folder home page featuring the Outlook View Control is up and running, I'm looking at giving my users a means to setup various options. I can now programmically switch the folder home page from the OVC page to one that will displays the setup options. However, to switch back I need access to the Outlook OM in order to change the folder home page back. Right now, I've got a OVC on the setup page with it hidden (style="display:none;") |
All times are GMT +1. The time now is 08:23 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com