Hi Guys:
First thanks for the prior posts so I had the words to look up to learn a
little aobut Apartments etc...
Now I am trying to determine if my script can monitor keyboard activity
occuring in the vb.net 2010 target application using the system.windows.input
namespace.
In particular in this case the Keyboard Class.
My External script has registered the appropriate WindowEyes DLL as a COM
object.
I have used the WE Dialog to register my script to be associated with vb.net
2010 express.
Does the following sound correct?
When I start vb.net 2010 express say by clicking the icon on my desktop, it
creates a main thread apt, STA I think.
Since my script is Associated (via the we script manager) it is started by WE
and it's objects are available to the WE thread.
The COM DLL makes the WE Object communications available to my script.
That said, since I believe this senario indicates that vb.net 2010 express is
running in it's own sta, calls to an object from my script (like a Keyboard
Object) will only route the messages from my script thread and back and not
have access to messages routed to and from the vb.net 2010 express thread.
Thanks for the technical help, phew.
Rick USA