5342: Bug in timer gadget

  • Thread starter Thread starter Deborggraeve Randy
  • Start date Start date
D

Deborggraeve Randy

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.
 
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 :--
 
Back
Top