Hi Zalek,

You might find touch tone sounds, wav files, by searching sound files on the Internet, then you will need to use platform invoke to play the sound in native code as there is no managed method to play sounds in the .NET Framework or .NET Compact Framework.

For an example, see:

http://msdn2.microsoft.com/en-us/library/ms229685(en-US,VS.80).aspx


Note that in Visual Studio 2005, Visual Basic users can insert a pre-programmed snippets into the code editor for a variety of tasks. There is a snippet for devices to PInvoke a sound.

In the Form1 class in the code editor:
- Right Click, and select Insert Snippet
- Select "Smart Devices" then "Device Operating System" then "Play a Sound File."

Hope this helps,
- Bruce Hamilton
.NET Framework User Education
Microsoft

-----Original Message-----
From: Zalek Bloom
Posted At: Saturday, December 17, 2005 10:19 AM
Posted To: microsoft.public.dotnet.framework.compactframework
Conversation: Sound in VB.NET
Subject: Sound in VB.NET


Hello,

I want to write a telephone dialer program usingVB.NET.
Anyone knows how to create sound coresponding to a touch tone using
vb.net?

Thanks,

Zalek