Click here to Skip to main content
16,010,673 members
Home / Discussions / C#
   

C#

 
GeneralRe: making the computer restart after a setup program is finished Pin
Terrence Benade7-Dec-03 2:31
Terrence Benade7-Dec-03 2:31 
GeneralMailmerge Pin
Anonymous5-Dec-03 6:56
Anonymous5-Dec-03 6:56 
GeneralRe: Mailmerge Pin
Roger Stewart5-Dec-03 10:08
professionalRoger Stewart5-Dec-03 10:08 
GeneralRe: Mailmerge Pin
Anonymous9-Dec-03 6:16
Anonymous9-Dec-03 6:16 
GeneralC# and Named pipes Pin
Spiros5-Dec-03 5:32
Spiros5-Dec-03 5:32 
GeneralRe: C# and Named pipes Pin
Heath Stewart5-Dec-03 7:08
protectorHeath Stewart5-Dec-03 7:08 
GeneralTrouble playing a sound Pin
Shizam5-Dec-03 4:33
Shizam5-Dec-03 4:33 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 4:44
protectorHeath Stewart5-Dec-03 4:44 
DirectX is the way to go, but putting using Microsoft.DirectX isn't enough (and you'll want to use the Microsoft.DirectX.DirectSound namespace anyway). You actually have to add the appropriate assemblies to your project references. Right-click on your project and click "Add Reference". Find the appropriate assemblies (Microsoft.DirectX and Microsoft.DirectX.DirectSound) and add them to your project. For any classes you use, you must include the assembly that contains that class in your project references (except for classes in mscorlib.dll, which is automatically referenced unless the compiler is told otherwise - which you can't do from VS.NET).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 5:15
Shizam5-Dec-03 5:15 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 5:22
protectorHeath Stewart5-Dec-03 5:22 
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 5:37
Shizam5-Dec-03 5:37 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 6:06
protectorHeath Stewart5-Dec-03 6:06 
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 6:30
Shizam5-Dec-03 6:30 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 6:39
protectorHeath Stewart5-Dec-03 6:39 
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 8:19
Shizam5-Dec-03 8:19 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 8:55
protectorHeath Stewart5-Dec-03 8:55 
GeneralRe: Trouble playing a sound Pin
Jerry Hammond5-Dec-03 16:20
Jerry Hammond5-Dec-03 16:20 
GeneralRe: Trouble playing a sound Pin
J. Dunlap5-Dec-03 9:17
J. Dunlap5-Dec-03 9:17 
GeneralIs it possible to disable the Messagebox/Dialog... Pin
Loke15-Dec-03 3:34
Loke15-Dec-03 3:34 
Questioninserting data into Access using C#?? Pin
Azel Low5-Dec-03 2:47
Azel Low5-Dec-03 2:47 
AnswerRe: inserting data into Access using C#?? Pin
Heath Stewart5-Dec-03 4:04
protectorHeath Stewart5-Dec-03 4:04 
GeneralRe: inserting data into Access using C#?? Pin
Azel Low5-Dec-03 4:10
Azel Low5-Dec-03 4:10 
GeneralRe: inserting data into Access using C#?? Pin
Heath Stewart5-Dec-03 4:32
protectorHeath Stewart5-Dec-03 4:32 
GeneralRe: inserting data into Access using C#?? Pin
Azel Low5-Dec-03 4:41
Azel Low5-Dec-03 4:41 
GeneralRe: inserting data into Access using C#?? Pin
Heath Stewart5-Dec-03 4:46
protectorHeath Stewart5-Dec-03 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.