Active window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a need to send data (text) received via a COM port to the active
window from a Windows service. Can anyone out there suggest how I should
handle this in a .Net, Window XP environment? Thanks.
 
I don't know... and for a good reason: it is not good practice for a
service to directly interact with the UI - and there is a good chance
that any solution you come up with will stop working under Vista. What
it nobody is logged on? What if several people are loogged on?

It sounds like you are trying to write a keyboard driver... perhaps
you need to look at sending the data to the keyboard buffer instead?

Marc
 
Back
Top