DavidR_910

In Outlook 2007, I'm trying to replace an entire folder pane / folder view when you select a folder to have a custom user control instead. The closest I can get is using a custom task pane, however, that is limited to how big it can be. I keep running into an advertisement from add-in-express which their product is able to do, but I was hoping for a less expensive solution to this. Replacing a web view with a customer user form / control would work too. The solution to this would be greatly appreciated. Thanks!

Note: I've taken a look at the 2003 CRM sample, but it doesnt' work with Outlook 2007.



Re: Visual Studio Tools for Office Replacing entire folder view with custom user control. (Outlook 2007)

Sue Mosher - Outlook MVP

The WebViewURL and WebViewOn properties of the Folder object control the display of a web page instead of the list of items in the folder. The CRM Integration sample at http://msdn.microsoft.com/library/en-us/dnbda/html/OtlkLOBCRM.asp demonstrates how to use such a web view to completely change the Outlook display.





Re: Visual Studio Tools for Office Replacing entire folder view with custom user control. (Outlook 2007)

DavidR_910

This sample is for Outlook 2003, I'm trying to get this to work with Outlook 2007. I was referred to this by a developer here, but he said this solution will only work for Outlook 2003, which I have also tried and found out.





Re: Visual Studio Tools for Office Replacing entire folder view with custom user control. (Outlook 2007)

X4U

Hello David,

in the past I solved this using a resource only dll wich is loaded inside the Outlook-process.

http://support.microsoft.com/kb/319616/en-us

http://msdn2.microsoft.com/en-us/library/24b2tcy0(vs.71).aspx

The Concept:

Create a Resource-Dll with a complete new designed HTML Userinterface without any script / logic to avoid security problems.

Multiple Outlook-Viewcontrols and Buttons/Tabs - Whatever and load it inside the OL process as WebFolderView.

The get access to the IHTMLDocument interface and all Controls from inside of an Managed AddIn using the Explorer.HTMLDocument property.

From here you can control everything.

Maybe this is an additional way to solve your problem.

Just an idea.

Hope this helps,

Greets, Helmut






Re: Visual Studio Tools for Office Replacing entire folder view with custom user control. (Outlook 2007)

DavidR_910

Hmm, I was unable to get that method to work. Both those articles are from 2004, a little old and referencing C++ whereas i'm working with C#. Anyhow I tried to do this without any luck. There has gotta be some way, I know there is a commercial product that does pricisely this, I just hope to be able to do it without purchasing this add-on.