| | |
How to temporarily disable Sound Card/Driver
![]() |
•
•
Join Date: Jul 2006
Posts: 11
Reputation:
Solved Threads: 0
Hello all,
How can the sound card be Enabled/Disabled with Vb Code? Is this possible through API call? or maybe registry edit?
My app. needs to disable sound card while running then enable afterward. This app will be running on a dedicated system.
Using "black box" object. The object's method (for which I don't have source code) uses .wav file play that can overwhelm the sound card to the point of BSOD. After manually disabling my sound device the BSOD events dissapeared. Mute does not work, BSOD still occurs.
Any help is greatly appreciated.
Thank you.
How can the sound card be Enabled/Disabled with Vb Code? Is this possible through API call? or maybe registry edit?
My app. needs to disable sound card while running then enable afterward. This app will be running on a dedicated system.
Using "black box" object. The object's method (for which I don't have source code) uses .wav file play that can overwhelm the sound card to the point of BSOD. After manually disabling my sound device the BSOD events dissapeared. Mute does not work, BSOD still occurs.
Any help is greatly appreciated.
Thank you.
After some pretty hard-core searching, I've settled on the fact that you simply can't by yourself. I've looked into API's, WMI, and using Sendkeys to the device manager window itself :eek: (which works, btw, but it's really tacky, and certainly not something I'm going to suggest). After all is said and done, it looks like there is a utility called "devcon" from microsoft, that can be used to do what you want (http://support.microsoft.com/?kbid=311272). I'm quite a bit disappointed that I can't find a VB solution to this, or even a solution in another language that I could port to VB. Everything seems to rely on this tool...... good luck.
Last edited by Comatose; Jul 24th, 2006 at 11:08 am.
Sorry about that, vBulletin assumed the trailing ) as part of the URL, but it's not: http://support.microsoft.com/?kbid=311272
![]() |
Similar Threads
- HELP! Updating Sound Card Driver and now Windows Only boots up Black Screen! :( (Windows NT / 2000 / XP)
- Sound Card Driver...? (*nix Software)
- Sound card driver - micro-star MS-6382 (Windows NT / 2000 / XP)
- where can i find the appropriate sound card driver (Windows NT / 2000 / XP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Pls help me regarding to access database in vb6
- Next Thread: VB 6.0 file manipulation prob...
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






