I am getting the following error when using "SendKey". Any idead?
A first chance exception of type 'System.InvalidOperationException'
occurred in system.windows.forms.dll
Additional information: SendKeys cannot run inside this application
because the application is not handling Windows messages. Either change
the application to handle messages, or use the SendKeys.SendWait method.