none
How to Open web application page in outlook 2010. RRS feed

  • Question

  • Hi All,

    How I can open an asp.net application page in outlook 2010 when Click on Custom Ribbon Item. I am using asp.net with C# and Outlook 2010.

    Plz guide me.

    Thanks in Advance


    Dharmender Sharma

    Tuesday, May 1, 2012 7:09 AM

Answers

  • Hi dharma12,

    You are able to create a form and add a WebBrowser control in it. Then you need modify the code like this:

    Function Item_Open()
    	set objPage = Item.GetInspector.ModifiedFormPages("第 2 页")
    	set objBrowser = objPage.Controls("WebBrowser1")
    	objBrowser.Navigate("http://www.google.com")
    End Function
        

    Following is some key screen shootings:

    Hope it can help you.

    Best Regards,

    T.X.

    Thursday, May 10, 2012 7:57 AM

All replies

  • must this web page be contained within outlook UI? you have following options:

    1. using process.start to display that page in default web browser outside outlook

    2. use winforms to show window winthin outlook with embedded webbrowser control that will display that page using IE, no matter the default browser

    3. use Folder.WebViewOn and WebViewURL to display that page as a folder view (and set that folder using ActiveExplorer.CurrentFolder)

    Tuesday, May 1, 2012 7:02 PM
  • Hi dharma12,

    Thanks for posting in the MSDN Forum.

    I would recommend you clarify following options for further research:

    1. Where your want to open web application? Is it in your Outlook explorer UI?
    2. What will you want to do after browser the web application?

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, May 3, 2012 2:43 AM
    Moderator
  • Thanks Tom,

    I want to show my existing asp.net web application page to open in the custom outlook form.

    Thanks


    Dharmender Sharma

    Thursday, May 3, 2012 11:58 AM
  • Hi dharma12,

    You are able to create a form and add a WebBrowser control in it. Then you need modify the code like this:

    Function Item_Open()
    	set objPage = Item.GetInspector.ModifiedFormPages("第 2 页")
    	set objBrowser = objPage.Controls("WebBrowser1")
    	objBrowser.Navigate("http://www.google.com")
    End Function
        

    Following is some key screen shootings:

    Hope it can help you.

    Best Regards,

    T.X.

    Thursday, May 10, 2012 7:57 AM