I would like to disable a webbrowser sound but i don't think it's possible so i saw that it was possible to disable an application sound on systems higher than win xp, now i just need to know how and i can't find it!
Current code :
Form.ActiveForm.Hide();
webBrowser1.ScriptErrorsSuppressed = true;
try
{
webBrowser1.Navigate(args[2], null, null, "User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0; Xbox; Xbox One)");
}
catch (Exception ex)
{
Environment.Exit(0);
}
i don't think there is a webrowser.noSound thing , also i used activeform.hide() to hide the webbrowser
Aucun commentaire:
Enregistrer un commentaire