Results 1 to 6 of 6

Thread: Question on WebBrowser control

Hybrid View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    8

    Question on WebBrowser control

    Hello everybody,

    I try to build a client Internet browser, in my form, I've used the WebBrowser control to navigate.

    The problem is: I want it show some notify message when the WebBrowser control get to the website completely. I've tried to use Thread.Sleep() but it seems that it stop the WebBrowser control task. ( The WebBrowser control stop GetRespone from the website )

    Could somebody tell me how to do that ?

    Any helps would be appreciated,
    TheMy

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Re: Question on WebBrowser control

    Check out the DownloadComplete event.

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Question on WebBrowser control

    Or maybe the .Busy or .ReadyState property? Or the NavigateComplete event?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    8

    Re: Question on WebBrowser control

    Hello guys,

    I can't find the DownloadComplete method.
    But anyway, the busy method works perfectly.

    Thanks for your helps

    Best regards,
    TheMy

  5. #5
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Question on WebBrowser control

    DownloadComplete is an event, not a method.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Re: Question on WebBrowser control

    Also I might have been wrong and it might be the NavigateComplete event like dee-u suggested.

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