Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Web page in Outlook window (http://www.outlookbanter.com/add-ins-outlook/69713-web-page-outlook-window.html)

satishsuman April 3rd 08 02:44 PM

Web page in Outlook window
 
I am trying for get a web page on outlook window( main screen). Like Linked
in Addin does, when we click linked in button.

I dont know how to start for that.
I know how to create COM Addin. Any one can suggest any refernce?

Sue Mosher [MVP-Outlook] April 3rd 08 03:25 PM

Web page in Outlook window
 
Take a look in the Outlook developer documentation at the MAPIFolder.WebViewURL and WebViewOn properties.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"satishsuman" wrote in message ...
I am trying for get a web page on outlook window( main screen). Like Linked
in Addin does, when we click linked in button.

I dont know how to start for that.
I know how to create COM Addin. Any one can suggest any refernce?


satishsuman April 4th 08 01:15 PM

Web page in Outlook window
 
Thanx Sue.

I am doing it in vc++/ATL without MFC.
I tried it and now I am able to fetch the page in any of existing folder
(eg. Contacts, inbox etc.).
But, I want to create it but without creating any (or using existing) folder.

Is there a method for that?

Regards
Satish


Sue Mosher [MVP-Outlook] April 4th 08 01:22 PM

Web page in Outlook window
 
You can display a web page in the built-in browser in Outlook by using CommandBars techniques to invoke the address control on the Web toolbar. Here's a VBA snippet for you to adapt:

set objWeb = _
Application.ActiveExplorer.CommandBars.FindControl (26, 1740)
objWeb.text = strURL

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"satishsuman" wrote in message ...
Thanx Sue.

I am doing it in vc++/ATL without MFC.
I tried it and now I am able to fetch the page in any of existing folder
(eg. Contacts, inbox etc.).
But, I want to create it but without creating any (or using existing) folder.

Is there a method for that?

Regards
Satish


satishsuman April 7th 08 06:56 AM

Web page in Outlook window
 
Wow.. its working fine..
thanx a lot..

what do the values 26, 1740 indicates ?

regards
satish

Sue Mosher [MVP-Outlook] April 7th 08 03:53 PM

Web page in Outlook window
 
If you look up the FindControl method in Outlook developer help, you'd see that those are parameters that specify the type and ID of a control.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"satishsuman" wrote in message ...
Wow.. its working fine..
thanx a lot..

what do the values 26, 1740 indicates ?

regards
satish



All times are GMT +1. The time now is 12:29 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-2006 OutlookBanter.com