hi,
what is the difference between the sendkey of vb6 and C#. I tried the code below but nothing happen except to launch a calculator?
VB Code:
Process.Start("calc.exe"); System.Windows.Forms.SendKeys.Send("3434.00");
thanks,
Popskie
Printable View
hi,
what is the difference between the sendkey of vb6 and C#. I tried the code below but nothing happen except to launch a calculator?
VB Code:
Process.Start("calc.exe"); System.Windows.Forms.SendKeys.Send("3434.00");
thanks,
Popskie
The problem is that you're not waiting for the Calculator window to appear before sending the key strokes.Code:Process.Start("calc.exe").WaitForInputIdle();
System.Windows.Forms.SendKeys.Send("3434.00");
thanks jm