A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Detecting if a HTML page is being view via Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 7th 07, 05:11 AM posted to microsoft.public.outlook.program_vba
dch3
external usenet poster
 
Posts: 105
Default 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;")


  #2  
Old November 7th 07, 03:03 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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;")


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with sending and viewing HTML page michaeljnc Outlook Express 12 July 10th 07 07:19 AM
Link Calendar to HTML page Tina Outlook - Calandaring 0 November 14th 06 07:18 PM
CAN'T get back to regualar calendar page view after change view SeizingLife Outlook - Calandaring 2 September 25th 06 09:37 AM
How do I create and html page and save it as stationery? Gretchen Outlook - General Queries 2 June 22nd 06 04:58 AM
Problem with seeing html on the source tab page JennyB Outlook Express 1 April 27th 06 11:35 AM


All times are GMT +1. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.