Web page in Outlook window

S

satishsuman

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?
 
S

Sue Mosher [MVP-Outlook]

Take a look in the Outlook developer documentation at the MAPIFolder.WebViewURL and WebViewOn properties.
 
S

satishsuman

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
 
S

Sue Mosher [MVP-Outlook]

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
 
S

satishsuman

Wow.. its working fine..
thanx a lot..

what do the values 26, 1740 indicates ?

regards
satish
 
S

Sue Mosher [MVP-Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top