Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - General Queries (http://www.outlookbanter.com/outlook-general-queries/)
-   -   Outlook View Control embedded in custom control (http://www.outlookbanter.com/outlook-general-queries/32180-outlook-view-control-embedded-custom.html)

[email protected] November 7th 06 05:52 AM

Outlook View Control embedded in custom control
 
Hi,

I am using VSTO 2005, Outlook 2003, c#.
I created a windows user control using c#.I used the outlook view
control inside this user control.
Then i embedded this user control(contaning the OVC) in an html page on
my hard disk.
I then set this html page as a home page to one of my outlook folders.
It displays the page correctly, along with OVC and list of messages
inside it.
But, when i click on any message in the OVC, it does not display the
reading(preview) pane.Also, all the options of View-Reading Pane in
the menu bar are disabled whenever this page is set as home page !
Please can you throw some light on this issue?

Another thing i noticed is when i embed the OVC as it is in the web
page, it does display the reading pane(preview) pane.

Why this different behaviour?

Thanks

Regards
Tanushree


Woody W (MVP) November 8th 06 11:41 AM

Outlook View Control embedded in custom control
 
The OVC has some strange behavior when it does not run directly in the
context of Outlook. This is by design and due to security
considerations. You will find that certain elements of the Outlook
object model are not available through the control unless the OVC is run
directly - particularly enumeration of folders and message stores.

wrote:
Hi,

I am using VSTO 2005, Outlook 2003, c#.
I created a windows user control using c#.I used the outlook view
control inside this user control.
Then i embedded this user control(contaning the OVC) in an html page on
my hard disk.
I then set this html page as a home page to one of my outlook folders.
It displays the page correctly, along with OVC and list of messages
inside it.
But, when i click on any message in the OVC, it does not display the
reading(preview) pane.Also, all the options of View-Reading Pane in
the menu bar are disabled whenever this page is set as home page !
Please can you throw some light on this issue?

Another thing i noticed is when i embed the OVC as it is in the web
page, it does display the reading pane(preview) pane.

Why this different behaviour?

Thanks

Regards
Tanushree



All times are GMT +1. The time now is 07:58 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