Results 1 to 10 of 10

Thread: How to get rid of the 'click' sound when a webbrowser navigates?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    34

    Question

    Does anybody know how you can prevent your webbrowser
    to make that 'click' sound when it navigates?

    And is it possible to prevent pictures from being loaded
    as well with the webbrowser?

    Thanks in advance

  2. #2
    Guest
    No and kind of.

    There is no way to get rid of the clicking sound, it is part of IE and you probably won't find a way.

    You can load a page, and then wait a second or to and use Webbrowser1.Stop. This won't stop the pictures from loading completely, but it will stop the page from downloading.

    What you are trying to do is almost impossible (you may want to cross out that almost).

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    34
    Thanks, too bad I will have to keep hearing the clicks

  4. #4
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    the click sound is from the START NAVIGATION event. You can change or disable it in the Windows control panel, in Sounds and Multimedia

  5. #5
    Guest
    Perhaps you can do that Clunietp. But it can't be disabled through the Webbrowser with code in VB.

    Oh, he wants to disable it for himself, didn't know that.
    But vbDan, you could always turn your sound off if all else fails.


    [Edited by Matthew Gates on 08-30-2000 at 01:20 PM]

  6. #6

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    34

    Smile

    Actually; I wanted my application to be able to navigate
    without having to hear the click. My application has to log on to a site which is probably placing cookies. I wasn't able to log on using Winsock (can't place the cookies), so I am using the WebBrowser control.

    I just found out that when you navigate while the WebBrowser control is not visible you don't hear the clicks, so there is a way to work around the problem

    Thank you both for your help!

    [Edited by vbDan on 08-31-2000 at 06:30 AM]

  7. #7
    Lively Member new_money's Avatar
    Join Date
    Jan 2001
    Posts
    127
    As far as I can tell, this works for the clicking problem, but then you can't get anything from the Webbrowser control.

    That does seem a little odd you can't browse to a page while the Webbrowser Control is not visible.

  8. #8
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    On WinNT, the wave for the "click" is set under HKCU\AppEvents\Schemes\Apps\Explorer\Navigating\.current, or around there somewhere. So your app could remove the registry string on startup and restore it on unload, or just nuke it altogether.

    Josh
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  9. #9

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    34
    Thank you, JoshT.

    I don't use NT, but perhaps Win98 does the same. I will try to find out.

    New-Money:

    I don't really have to see the page. I only need to send a username and password and after i've logged on i need to send some information to another page.

    The problem is that when you log on you get a cookie, and I don't know how to set that cookies with WinSock (API). So I use the Webbrowser control which sets the cookies for me. The only problem with that was that I heared a clicking sound when I navigate.

    So in my case I can set the control to invisible

  10. #10
    Lively Member new_money's Avatar
    Join Date
    Jan 2001
    Posts
    127
    Yep, I found the RKey yesterday, and it is the same address as the NT RKey. I'm a very happy camper now.

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