You could always set a reference to Microsoft.Visua lBasic.dll, and then
call the static Beep method on the Interaction class in the
Microsoft.Visua lBasic namespace.
"moondaddy" <moondaddy@nosp am.nospam> wrote in message
news:%239Cazf2V GHA.2444@TK2MSF TNGP14.phx.gbl. ..[color=blue]
> I'm a vb guy learning c#. What's the equivalent of the vb beep function
> in c#?
>
> --
> moondaddy@nospa m.nospam
>[/color]
"moondaddy" <moondaddy@nosp am.nospam> wrote in message
news:%239Cazf2V GHA.2444@TK2MSF TNGP14.phx.gbl. ..
[color=blue]
> I'm a vb guy learning c#. What's the equivalent of the vb beep function
> in c#?[/color]
public void onePing()
{
SystemSounds.Be ep.Play();
}This is new in v 2.0 of C#"moondaddy" <moondaddy@nosp am.nospam> wrote in
message news:%239Cazf2V GHA.2444@TK2MSF TNGP14.phx.gbl. ..[color=blue]
> I'm a vb guy learning c#. What's the equivalent of the vb beep function
> in c#?
>
> --
> moondaddy@nospa m.nospam
>[/color]
Comment