Hello members
i am working on a program in which i called a program exe file but the program which i called using system.diagnostic.start give output when a space bar is pressed i dont want any user input in middle i want automatically output from the program plz guide how i can press space bar programatically.
plz give a detailed answer i am struck very bad.
Loading

Amit ChoudharyRank #145 · 15.8K reputationPosted Aug 9, 2011, 11:17 PM EDT
if you don't have that this could be possible through the automation scripts created using vbscript. I've never used them but heard of it.
Thanks.
VulpesRank #55 · 29.2K reputationPosted Aug 10, 2011, 12:39 AM EDT
deepender singla111 reputationPosted Aug 10, 2011, 5:27 AM EDT
VulpesRank #55 · 29.2K reputationPosted Aug 10, 2011, 5:35 AM EDT
Can you post the lines above the one giving the error.
deepender singla111 reputationPosted Aug 10, 2011, 5:37 AM EDT
if(e.Result.Text=="Time");
deepender singla111 reputationPosted Aug 10, 2011, 5:37 AM EDT
if(e.Result.Text=="Time");
VulpesRank #55 · 29.2K reputationPosted Aug 10, 2011, 5:39 AM EDT
deepender singla111 reputationPosted Aug 10, 2011, 5:42 AM EDT
if()
{
Process.Start("");
Thread.Sleep("1000");
SendKeys.Send(" ");
}
deepender singla111 reputationPosted Aug 10, 2011, 5:44 AM EDT
do u remember once we have done string recieving from one com port and then semding command to other com SSC-32 servo controller this code or link for my doubt , plz help there is some problem because you are the one will understand far better than any other when i use it in for loop
link:
http://www.c-sharpcorner.com/Forums/Thread/135574/
Sam HobbsRank #107 · 20.5K reputationPosted Aug 10, 2011, 3:35 PM EDT