none
Problem with IWebBrowser2::Navigate Method RRS feed

  • Question

  • Hi All,

     I am using IWebBrowser2::Navigate Method to display the doc and PDF files in my dialog for that I have used following code:

    CComQIPtr<IWebBrowser2, &IID_IWebBrowser2> m_spWebBrowser;

    CComVariant vtEmpty;

    CComBSTR bstrURL ;

    HRESULT hr = m_spWebBrowser->Navigate(bstrURL, &vtEmpty, &vtEmpty, &vtEmpty, &vtEmpty);

    On windows server 2008 R2 it is working fine with wow64 environment but when I am executing in x64 bit mode it is opening new instance of Microsoft word / are in acrobat reader.

    Can any one tell me what the problem in Windows server 2008R2 is?

    Thanking in advance

    Shishir

    Tuesday, August 10, 2010 11:39 AM