Console.Beep? What the beep!
Page 1 of 1
Console.Beep? What the beep!
#1
Posted 15 July 2009 - 07:24 AM
Hi all,
I am developing some software for a handheld device (Windows Moble). I want the device to make a Beep noise. Now I know in VS .NET 2.0-3.5 framework you can just simply do Console.Beep() and walah! Anyone know how I can do the same for my handheld? I dont get the option .Beep() probably due to the fact that its a moble.
I am developing some software for a handheld device (Windows Moble). I want the device to make a Beep noise. Now I know in VS .NET 2.0-3.5 framework you can just simply do Console.Beep() and walah! Anyone know how I can do the same for my handheld? I dont get the option .Beep() probably due to the fact that its a moble.
#2
Re: Console.Beep? What the beep!
Posted 15 July 2009 - 07:53 AM
// For playing sounds
[System.Runtime.InteropServices.DllImport("coredll.dll")]
public static extern int PlaySound(string pszSound, int hmod, int fdwSound);
PlaySound("\\Windows\\Alarm3.wav", 0, 0x00020000);
That's how we do it on Symbol and Intermec devices running WM5.
This post has been edited by eclipsed4utoo: 15 July 2009 - 08:13 AM
Page 1 of 1

Start a new topic
Add Reply






MultiQuote


| 


