Article View: alt.pl.comp.lang.csharp
Article #594Re: Jak zrobic cos na ksztalt MaskEdit w Delphi?
From: RMaciek
Date: Wed, 17 Mar 2004 23:00
Date: Wed, 17 Mar 2004 23:00
28 lines
1648 bytes
1648 bytes
Marek Janaszewski (USUN_TO. z adresu!) wrote:
[...]
> Nie wiem tylko jak w tym .NET-cie wywołać Beep. Szukałem w SDK ale jest
> tylko informacja o funkcji dla VB.
>
> No właśnie, czy ktoś wie jak wydać z C# dźwięk Beep?
>
Cześć.
Ja też nie znalazłem w C# funkcji do dźwięku. Dlatego używam
standardowej funkcji WinAPI Beep.
To jest coś takiego:
[DllImport("Kernel32.dll")]
public static extern bool Beep( uint freq, uint time );
static void Main()
{
Beep( 500, 100 );
}
Pozdrawiam
RMaciek
Technical Details
Message-ID:
<c3al77$t2u$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-out.visi.com!petbe.visi.com!news.octanews.net!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mailReferences:
<c37vo3$43n$1@news.lublin.pl> <c39k0q$ns1$2@news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-out.visi.com!petbe.visi.com!news.octanews.net!newsfeed.tpinternet.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail From: RMaciek <rma...@gazeta.pl> Newsgroups: alt.pl.comp.lang.csharp Subject: Re: Jak zrobic cos na ksztalt MaskEdit w Delphi? Date: Thu, 18 Mar 2004 00:00:07 +0100 Organization: Portal Gazeta.pl -> http://www.gazeta.pl Lines: 28 Message-ID: <c3al77$t2u$1@inews.gazeta.pl> References: <c37vo3$43n$1@news.lublin.pl> <c39k0q$ns1$2@news.atman.pl> NNTP-Posting-Host: gj71.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1079564327 29790 83.31.15.71 (17 Mar 2004 22:58:47 GMT) X-Complaints-To: use...@agora.pl NNTP-Posting-Date: Wed, 17 Mar 2004 22:58:47 +0000 (UTC) In-Reply-To: <c39k0q$ns1$2@news.atman.pl> X-Accept-Language: en-us, en X-User: rmaciek User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit