Hey I am coding a background service/ exe that reads the input from a com port from a barcode scanner. it reads fine and can be displayed on a textbox with ease. my goal is to have it as an alernative keyboard so to speak. its always on and "types" the input onto an active textbox with focus. as soon as the program executes the line containing sendkeys(ScanText) it crashes with a system.InvalidExecutionException.
I have to test it on another computer because my com port is not working.
I rebuilt it in x86 for my 32 bit test computer.
I downloaded .net framework 4.0 for my test computer since that is the framework it was coded in
i still do not understand why sendkeys is not working
and no i did not program it in vb6 im using visual studio 2009
any ideas on what the problem is or an alternative to sendkeys would be great thanks
I have to test it on another computer because my com port is not working.
I rebuilt it in x86 for my 32 bit test computer.
I downloaded .net framework 4.0 for my test computer since that is the framework it was coded in
i still do not understand why sendkeys is not working
and no i did not program it in vb6 im using visual studio 2009
any ideas on what the problem is or an alternative to sendkeys would be great thanks