Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: in what classes do I handle/place these resources? Pin
stephen.darling13-Sep-10 21:51
stephen.darling13-Sep-10 21:51 
GeneralRe: in what classes do I handle/place these resources? Pin
SeMartens13-Sep-10 22:14
SeMartens13-Sep-10 22:14 
GeneralRe: in what classes do I handle/place these resources? Pin
OriginalGriff13-Sep-10 22:25
mveOriginalGriff13-Sep-10 22:25 
QuestionTimer events driving me insane! Pin
stephen.darling13-Sep-10 14:48
stephen.darling13-Sep-10 14:48 
AnswerRe: Timer events driving me insane! Pin
Luc Pattyn13-Sep-10 15:23
sitebuilderLuc Pattyn13-Sep-10 15:23 
GeneralRe: Timer events driving me insane! Pin
stephen.darling13-Sep-10 15:29
stephen.darling13-Sep-10 15:29 
AnswerRe: Timer events driving me insane! Pin
PIEBALDconsult13-Sep-10 16:45
mvePIEBALDconsult13-Sep-10 16:45 
QuestionHow do I repeat this sound file as required? Pin
stephen.darling13-Sep-10 10:12
stephen.darling13-Sep-10 10:12 
Hi again coders.

I am writing my first, simple patient simulator.

I need to play a sound file on repeat, while the simulator is running.

It is a beep beep kind of file for the ECG machine (EKG in america, I am in UK)

I have a time object in my c# app, set to triger every second so I can track each second of the currently running simulation.

I tried to add my playsound() function here, but it is being reset every second (I understand why, but I cannot figure out what to do)

The whole sound file lasts approx 12 seconds, and needs to repeat straignt after it ends, for as long as the sim is running)

Sorry if it a basic question, but what functions do I need, and where would I put them to allow me to do this?

Thank you
Steve
AnswerRe: How do I repeat this sound file as required? Pin
AspDotNetDev13-Sep-10 11:03
protectorAspDotNetDev13-Sep-10 11:03 
GeneralRe: How do I repeat this sound file as required? Pin
stephen.darling13-Sep-10 11:11
stephen.darling13-Sep-10 11:11 
GeneralRe: How do I repeat this sound file as required? Pin
AspDotNetDev13-Sep-10 11:42
protectorAspDotNetDev13-Sep-10 11:42 
GeneralRe: How do I repeat this sound file as required? Pin
stephen.darling13-Sep-10 12:29
stephen.darling13-Sep-10 12:29 
QuestionMessage Removed Pin
13-Sep-10 8:36
hove8213-Sep-10 8:36 
GeneralRe: ObjectPolicy Pin
OriginalGriff13-Sep-10 9:06
mveOriginalGriff13-Sep-10 9:06 
GeneralRe: ObjectPolicy Pin
Pete O'Hanlon13-Sep-10 9:07
mvePete O'Hanlon13-Sep-10 9:07 
AnswerRe: ObjectPolicy Pin
Eddy Vluggen13-Sep-10 10:43
professionalEddy Vluggen13-Sep-10 10:43 
GeneralRe: ObjectPolicy Pin
hove8213-Sep-10 10:56
hove8213-Sep-10 10:56 
GeneralRe: ObjectPolicy Pin
Eddy Vluggen13-Sep-10 11:36
professionalEddy Vluggen13-Sep-10 11:36 
GeneralRe: ObjectPolicy Pin
PIEBALDconsult13-Sep-10 14:43
mvePIEBALDconsult13-Sep-10 14:43 
GeneralRe: ObjectPolicy [modified] Pin
hove8213-Sep-10 19:54
hove8213-Sep-10 19:54 
GeneralRe: ObjectPolicy Pin
Eddy Vluggen14-Sep-10 7:52
professionalEddy Vluggen14-Sep-10 7:52 
GeneralRe: ObjectPolicy Pin
hove8214-Sep-10 8:09
hove8214-Sep-10 8:09 
GeneralRe: ObjectPolicy Pin
Eddy Vluggen14-Sep-10 8:58
professionalEddy Vluggen14-Sep-10 8:58 
GeneralRe: ObjectPolicy Pin
hove8214-Sep-10 9:13
hove8214-Sep-10 9:13 
AnswerRe: ObjectPolicy Pin
Pete O'Hanlon13-Sep-10 10:45
mvePete O'Hanlon13-Sep-10 10:45 

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.