Click here to Skip to main content
15,912,328 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to know trap folder or drive accessing event Pin
coolestCoder20-Jan-07 21:38
coolestCoder20-Jan-07 21:38 
QuestionByte Conversion Pin
sajid.salim.khan20-Jan-07 20:48
sajid.salim.khan20-Jan-07 20:48 
AnswerRe: Byte Conversion Pin
Dominik Reichl20-Jan-07 21:28
Dominik Reichl20-Jan-07 21:28 
AnswerRe: Byte Conversion Pin
coolestCoder20-Jan-07 21:29
coolestCoder20-Jan-07 21:29 
QuestionSend Message For MdiApplication At C#.Net Pin
keshtgar20-Jan-07 20:06
keshtgar20-Jan-07 20:06 
AnswerRe: Send Message For MdiApplication At C#.Net Pin
coolestCoder20-Jan-07 21:32
coolestCoder20-Jan-07 21:32 
GeneralRe: Send Message For MdiApplication At C#.Net Pin
mwith21-Jan-07 3:38
mwith21-Jan-07 3:38 
Questionmethod overlap Pin
Basement Dweller20-Jan-07 19:42
Basement Dweller20-Jan-07 19:42 
Hello friends,

I'm am 4 months new to C#, so my question is probably quite simple but has me baffledOMG | :OMG: . It seems that my methods overlap eachother and donot execute one at time for example. I have a method called actions and from within that method i call several other methods like;

private void actions()
{
1. PlayAudioFile01(); //Play Audio file

2. MovePicture(xpos,ypos,delay); //moves pic to given coordinates with delay after each pixel move;

3. LoadfileShowText(arrayPos); // loads text from file into a string array and shows text of designated arrayPositon in a textbox.

4. PlayAudioFile02();
}

Why would method three execute before method two is finished? Also Method 2 gets interrupted by method 4. The picture will stop moving before it gets to its destination and PlayAudioFile02() will start playing my second file. What am i missing? Shouldn't method two finish performing beform the next methods begin? Any suggestions will prolong my days many! Thank you Smile | :)


Basement Dweller
AnswerRe: method overlap Pin
coolestCoder20-Jan-07 21:27
coolestCoder20-Jan-07 21:27 
AnswerRe: method overlap Pin
Christian Graus20-Jan-07 22:47
protectorChristian Graus20-Jan-07 22:47 
QuestionUnsafe() Blocks?? Pin
Rahithi20-Jan-07 19:35
Rahithi20-Jan-07 19:35 
AnswerRe: Unsafe() Blocks?? Pin
Christian Graus20-Jan-07 22:44
protectorChristian Graus20-Jan-07 22:44 
QuestionHelp importing XML data into forms Pin
TheBlindWatchmaker20-Jan-07 16:13
TheBlindWatchmaker20-Jan-07 16:13 
AnswerRe: Help importing XML data into forms Pin
coolestCoder20-Jan-07 21:25
coolestCoder20-Jan-07 21:25 
Questionone resource file for two projects in one solution Pin
shakhtyor20-Jan-07 15:33
shakhtyor20-Jan-07 15:33 
AnswerRe: one resource file for two projects in one solution Pin
Phillip M. Hoff20-Jan-07 20:48
Phillip M. Hoff20-Jan-07 20:48 
GeneralRe: one resource file for two projects in one solution Pin
shakhtyor20-Jan-07 22:19
shakhtyor20-Jan-07 22:19 
Questionhow to construct a formula based on user's input? Pin
michal.kreslik20-Jan-07 13:35
michal.kreslik20-Jan-07 13:35 
AnswerRe: how to construct a formula based on user's input? Pin
Luc Pattyn20-Jan-07 13:40
sitebuilderLuc Pattyn20-Jan-07 13:40 
GeneralRe: how to construct a formula based on user's input? Pin
michal.kreslik20-Jan-07 13:56
michal.kreslik20-Jan-07 13:56 
Question'preg_replace();' in c#? Pin
NZSmartie20-Jan-07 13:06
NZSmartie20-Jan-07 13:06 
AnswerRe: 'preg_replace();' in c#? Pin
Ed.Poore20-Jan-07 13:10
Ed.Poore20-Jan-07 13:10 
AnswerRe: 'preg_replace();' in c#? Pin
Ravi Bhavnani20-Jan-07 13:12
professionalRavi Bhavnani20-Jan-07 13:12 
QuestionscaleX & scaleY Pin
hamadam2120-Jan-07 11:42
hamadam2120-Jan-07 11:42 
AnswerRe: scaleX & scaleY Pin
Christian Graus20-Jan-07 14:37
protectorChristian Graus20-Jan-07 14:37 

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.