Results 1 to 4 of 4

Thread: VS 2005 VB.NET : Web Browser Help Needed

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2004
    Location
    malaysia
    Posts
    89

    Unhappy VS 2005 VB.NET : Web Browser Help Needed

    Hi guys i am having a window form, within the form, i have 2 part,
    the upper part is a datagridview and the lower part is a web browser (control name :wbBroser).

    the situation is this:
    when i double click a cell on the datagridview, the web browser will display a web page content, which is working fine.

    the code to navigate:
    wbBroser.Navigate(strURL)

    however, when i click close button which is in the web page, it will prompt out a message :
    The web page you are viewing is trying to close the window
    do you want to close the window?
    yes no

    after i click the yes, then the web browser become blank again.

    However, when i try to double click a cell in datagridview to launch web browser to view other page, it come out the following error.
    COMException was unhandle.
    Error HRESULT E_FAIL has been returned from a call to a COM Object.


    can anyone tell me how to solve this error?
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width