How can i delay a set of instructions
-
Hello, I´m writing a program that runs some gwak scripts. The problem is that before this process ends, the aplication continues to execute others C# instructions, and obviously it blows the all thing. My question is how can i delay the execution of the instructions until the process of runing the scripts ends?
-
Hello, I´m writing a program that runs some gwak scripts. The problem is that before this process ends, the aplication continues to execute others C# instructions, and obviously it blows the all thing. My question is how can i delay the execution of the instructions until the process of runing the scripts ends?
If you're running a script with Process.Start, you can get back the process that was started, and wait for it to end.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hello, I´m writing a program that runs some gwak scripts. The problem is that before this process ends, the aplication continues to execute others C# instructions, and obviously it blows the all thing. My question is how can i delay the execution of the instructions until the process of runing the scripts ends?
Yes are you trying to do action with process object or thread? if you done like that we can use th waitforhandle ,etc.. http://msdn2.microsoft.com/en-us/library/aa645740(VS.71).aspx[^] thanks
Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com
-
Yes are you trying to do action with process object or thread? if you done like that we can use th waitforhandle ,etc.. http://msdn2.microsoft.com/en-us/library/aa645740(VS.71).aspx[^] thanks
Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com