Not sure if this is the right location to post this, but don't know where else i could post this.
I been looking at the new gadgets in the 5342 build and noticed a bug in the timer gadget. When the timer reaches 0, the sound effect is not played.
The bug is in the function sound ============================================== if(s=="done") { system.Sound.PlaySound(s+".wav"); sw1 = true; } ==============================================
i have changed the code to ============================================== if(s=="done") { s= "assets\\media\\"+s+".wav"; wmp.play(s); sw1 = true; } ==============================================
now the sound effect is playing as it should be ;) Might be nice if the sound effect could be changed troug a settings page.

5342: Bug in timer gadget
Seeing as I don't have sound on my main Vista machine, I didn't even know there was a sound!! But great tip for the workaround!
-- Zack Whittaker » ZackNET Enterprises: www.zacknet.co.uk » MSBlog on ResDev: www.msblog.org » Vista Knowledge Base: www.vistabase.co.uk » This mailing is provided "as is" with no warranties, and confers no rights. All opinions expressed are those of myself unless stated so, and not of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared that up!
--: Original message follows :-- "Deborggraeve Randy" wrote in message
Not sure if this is the right location to post this, but don't know where else i could post this.
I been looking at the new gadgets in the 5342 build and noticed a bug in the timer gadget. When the timer reaches 0, the sound effect is not played.
The bug is in the function sound ============================================== if(s=="done") { system.Sound.PlaySound(s+".wav"); sw1 = true; } ==============================================
i have changed the code to ============================================== if(s=="done") { s= "assets\\media\\"+s+".wav"; wmp.play(s); sw1 = true; } ==============================================
now the sound effect is playing as it should be ;) Might be nice if the sound effect could be changed troug a settings page.
Windows Vista
User login
Related topics
- Vista build 5384 Internet not connected
- Radeon 9800 Pro Driver Issues
- optional updates
- Finally downloaded and installed...
- Installation problem Vista Upgrade - Windows Explorer
- Bind harddrive to folder
- Accton WN4201B Wireless network card (HP) No working driver
- how to turn of digitally signed signatures for drivers
- What needs to be done to get BLUETOOTH working in BETA 2?
- Can't use keyboard during install.
- Please help...Problem with C-Media High Definition Audio Dev
- System Restore Points
- Vista does not see my wireless adapter
- Just some info on Networking 5342
- any idea's on getting bb drivers for aol 2 work on vista ?
- Getting Disconnect/Connect wave event
- Vista Using too much System Resources
- Winzip and Vista question
- Bad Vista 64bit downloads
- Logs for Network Connection Repairing
- Newsgroup Signatures
- Installation hangs on Phase 2
- Strange installation problem
- windows explorer jpg properties
- Event log reporting x86
- PC-cillin™ Internet Security 14. 55 for Windows Vista
- how do i make my screen image show through the s-vhs port in
- Succesul!!!
- Vista roaming profiles don't work
- file corruption
- Seperate data partition, shared by XP and Vista
- Vista Beta 2/Monitor Gamma.