SendKeys
Hello, I'm currently making a new program, but it doesn't work. The program is supposed to write a string X times. On the form, there is 2 textboxes and 1 button, the first must contain a string and...
View ArticleSendKeys
You need to make notepad the active window before you send data to it. Right now, SendKeys will send the keystrokes to your form, since it's the active window.The reason it's freezing for 20 seconds,...
View ArticleSendKeys
Thanks for the fast answer, but my notepad was the active window and there was no number in the text box. So what is the problem?
View ArticleSendKeys
I don't get that, just a simple question: isn't that 20 secs of the building process from Visual Studio? Or an Antivirus checking the app before it runs? no number in the text box means end of the...
View ArticleSendKeys
Hi,As Reed suggested, SendKeys will send to active window , so we need to set the notepad as foregroudwindow.Please try the code below which set a notepad window to foreground , and send keys to it....
View Article