拦截什么事件,还是用什么API??
具体为一个 webbrowser控件,在后台打开网页刷新时,总会出现在声."哒"的一声响..
再比如,前进,后退..navigate 的时候..都会哒的一声...
怎么上当前程序屏弊掉这个程序???
别告诉我禁用声卡之类的办法...谢谢大家了..
很急的~!~!~!~!
帮解决给100分.
另有50分在.NET版...一起解~!~!
8 个解决方案
#1
这个是Windows本身的设置把?
#2
这个好像去不掉吧。。
#3
不知道怎么解决
#4
1 upgrade to IE7
or
2 modify registry to disable the sound globally.
or
2 modify registry to disable the sound globally.
#5
msdn中的例子,不知道是不是你要的
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>volume / mute Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:media id="m1" begin="indefinite;"
src="/workshop/samples/author/behaviors/media/shuttle3.wmv"
onmediacomplete="Timer2.beginElement();" fill="remove"/>
<BR><BR>
<BUTTON id="b0" onclick="m1.beginElement();">Start</BUTTON>
<BUTTON id="b3" onclick="m1.endElement();">Stop</BUTTON>
<BR><BR>
<B>Volume control:</B>
<input type="radio" name="i1" onpropertychange="m1.mute='true';">Mute
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=25;">25% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=50;" checked>50% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=75;">75% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=100;">100% Volume
</BODY>
</HTML>
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>volume / mute Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:media id="m1" begin="indefinite;"
src="/workshop/samples/author/behaviors/media/shuttle3.wmv"
onmediacomplete="Timer2.beginElement();" fill="remove"/>
<BR><BR>
<BUTTON id="b0" onclick="m1.beginElement();">Start</BUTTON>
<BUTTON id="b3" onclick="m1.endElement();">Stop</BUTTON>
<BR><BR>
<B>Volume control:</B>
<input type="radio" name="i1" onpropertychange="m1.mute='true';">Mute
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=25;">25% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=50;" checked>50% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=75;">75% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=100;">100% Volume
</BODY>
</HTML>
#6
还可以查查是哪个声音文件,把它处理一下就行了
#7
很简单,打开前,程序屏蔽系统声音,关掉后,恢复系统声音,....
#8
楼上正解
#1
这个是Windows本身的设置把?
#2
这个好像去不掉吧。。
#3
不知道怎么解决
#4
1 upgrade to IE7
or
2 modify registry to disable the sound globally.
or
2 modify registry to disable the sound globally.
#5
msdn中的例子,不知道是不是你要的
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>volume / mute Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:media id="m1" begin="indefinite;"
src="/workshop/samples/author/behaviors/media/shuttle3.wmv"
onmediacomplete="Timer2.beginElement();" fill="remove"/>
<BR><BR>
<BUTTON id="b0" onclick="m1.beginElement();">Start</BUTTON>
<BUTTON id="b3" onclick="m1.endElement();">Stop</BUTTON>
<BR><BR>
<B>Volume control:</B>
<input type="radio" name="i1" onpropertychange="m1.mute='true';">Mute
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=25;">25% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=50;" checked>50% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=75;">75% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=100;">100% Volume
</BODY>
</HTML>
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>volume / mute Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:media id="m1" begin="indefinite;"
src="/workshop/samples/author/behaviors/media/shuttle3.wmv"
onmediacomplete="Timer2.beginElement();" fill="remove"/>
<BR><BR>
<BUTTON id="b0" onclick="m1.beginElement();">Start</BUTTON>
<BUTTON id="b3" onclick="m1.endElement();">Stop</BUTTON>
<BR><BR>
<B>Volume control:</B>
<input type="radio" name="i1" onpropertychange="m1.mute='true';">Mute
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=25;">25% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=50;" checked>50% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=75;">75% Volume
<input type="radio" name="i1"
onpropertychange="m1.mute='false';m1.volume=100;">100% Volume
</BODY>
</HTML>
#6
还可以查查是哪个声音文件,把它处理一下就行了
#7
很简单,打开前,程序屏蔽系统声音,关掉后,恢复系统声音,....
#8
楼上正解