Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: tinypomelo on March 24, 2018, 07:37:58 AM

Title: Use other application to control MACH3
Post by: tinypomelo on March 24, 2018, 07:37:58 AM
Hi everybody,

I'm programming the C# app to control MACH3. My application will open MACH3 and press the RESET button automactically.

(https://a66e7f1d-a-62cb3a1a-s-sites.googlegroups.com/site/freebestphpscripts/Home/Z1.png)
(https://a66e7f1d-a-62cb3a1a-s-sites.googlegroups.com/site/freebestphpscripts/Home/Z2.png)

I configed MACH3 as imges above. On MACH3 window, when I press "q" key, it works perfectly. The reset button was clicked.
But when I use my C# app to simulate a "q" key press on MACH3, nothing happend. (I use SendKeys.Send method in my app)

Any idea?  ???