Click here to Skip to main content
16,015,755 members
Home / Discussions / C#
   

C#

 
AnswerRe: internet connection Pin
Mbah Dhaim26-Oct-08 13:18
Mbah Dhaim26-Oct-08 13:18 
QuestionRetrieve GAL from Microsoft Exchange Pin
Jassim Rahma26-Oct-08 4:13
Jassim Rahma26-Oct-08 4:13 
AnswerRe: Retrieve GAL from Microsoft Exchange Pin
Eddy Vluggen27-Oct-08 1:39
professionalEddy Vluggen27-Oct-08 1:39 
GeneralRe: Retrieve GAL from Microsoft Exchange Pin
EliottA27-Oct-08 6:19
EliottA27-Oct-08 6:19 
AnswerRe: Retrieve GAL from Microsoft Exchange Pin
Eddy Vluggen27-Oct-08 11:08
professionalEddy Vluggen27-Oct-08 11:08 
QuestionAUDIO frequency per second ? Pin
sana1726-Oct-08 4:01
sana1726-Oct-08 4:01 
AnswerRe: AUDIO frequency per second ? Pin
sana1726-Oct-08 4:08
sana1726-Oct-08 4:08 
GeneralRe: AUDIO frequency per second ? Pin
Shyam Bharath27-Oct-08 0:35
Shyam Bharath27-Oct-08 0:35 
I am not sure whether shotsound.Play will let further processing to take place. I mean like whether it Plays the wav file in a seperate thread. If it doesn't it means that timer1 doesn't start until the sound stops playing. So maybe you can try something like this...

<br />
private void Form1_Load(object sender, EventArgs e)<br />
{<br />
...<br />
<br />
timer1.Start();<br />
shotsound.Play(0, BufferPlayFlags.Default);<br />
}<br />
<br />
<br />
private void timer1_Tick(object sender, EventArgs e)<br />
{<br />
if(shotsound != null)<br />
   label1.Text = shotsound.Frequency.ToString();<br />
}<br />


If it doesn't work, play the wav file in a seperate thread.

-------------------------------------------
It's code that drives you - Shyam

AnswerRe: AUDIO frequency per second ? Pin
Mark Churchill26-Oct-08 13:37
Mark Churchill26-Oct-08 13:37 
QuestionTabcontrol type editor control Pin
Chris Copeland26-Oct-08 3:44
mveChris Copeland26-Oct-08 3:44 
QuestionSMO on 64-bit machine Pin
Rafone26-Oct-08 3:36
Rafone26-Oct-08 3:36 
AnswerRe: SMO on 64-bit machine Pin
#realJSOP26-Oct-08 4:27
professional#realJSOP26-Oct-08 4:27 
QuestionProblem Transforming ClipRectangle When Painting Pin
TheCloudlessSky26-Oct-08 2:06
TheCloudlessSky26-Oct-08 2:06 
QuestionImage compression Pin
ALAQUNAIBI25-Oct-08 21:52
ALAQUNAIBI25-Oct-08 21:52 
AnswerRe: Image compression Pin
User 665825-Oct-08 22:21
User 665825-Oct-08 22:21 
GeneralRe: Image compression Pin
ALAQUNAIBI26-Oct-08 0:36
ALAQUNAIBI26-Oct-08 0:36 
GeneralRe: Image compression Pin
Guffa26-Oct-08 1:42
Guffa26-Oct-08 1:42 
GeneralRe: Image compression Pin
Matty2226-Oct-08 3:12
Matty2226-Oct-08 3:12 
GeneralRe: Image compression Pin
Guffa26-Oct-08 11:03
Guffa26-Oct-08 11:03 
QuestionHow to work with Windows message queue in C#.Net 2005? Pin
Mehral25-Oct-08 15:58
Mehral25-Oct-08 15:58 
AnswerRe: How to work with Windows message queue in C#.Net 2005? Pin
Furty25-Oct-08 16:16
Furty25-Oct-08 16:16 
QuestionWhy *does* this work, and when will it *not* work? (Two-way MSMQ messaging using WCF) Pin
Furty25-Oct-08 15:39
Furty25-Oct-08 15:39 
AnswerRe: Why *does* this work, and when will it *not* work? (Two-way MSMQ messaging using WCF) Pin
Meer Osman Ali25-Oct-08 19:51
Meer Osman Ali25-Oct-08 19:51 
GeneralRe: Why *does* this work, and when will it *not* work? (Two-way MSMQ messaging using WCF) PinPopular
Furty25-Oct-08 20:38
Furty25-Oct-08 20:38 
GeneralRe: Why *does* this work, and when will it *not* work? (Two-way MSMQ messaging using WCF) Pin
Meer Osman Ali25-Oct-08 21:26
Meer Osman Ali25-Oct-08 21:26 

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.