PC Review


Reply
Thread Tools Rate Thread

Active window

 
 
=?Utf-8?B?SmltNzEw?=
Guest
Posts: n/a
 
      11th Jun 2007
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.
 
Reply With Quote
 
 
 
 
Marc Gravell
Guest
Posts: n/a
 
      12th Jun 2007
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


 
Reply With Quote
 
=?Utf-8?B?SmltNzEw?=
Guest
Posts: n/a
 
      12th Jun 2007
Thanks for the advice. It has been a while since I developed desktop
applications.

Jim

"Marc Gravell" wrote:

> 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
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
refer to active window when more than one window open for a file mcambrose Microsoft Excel Programming 4 17th Nov 2008 09:16 PM
non active windows not disappearing behind active window =?Utf-8?B?U2hheg==?= Windows XP Internet Explorer 3 21st Sep 2005 11:46 PM
Sapphire 9800pro Active window erases Inactive window mudz ATI Video Cards 0 1st Jun 2004 03:34 PM
active window border stays on when active program executes =?Utf-8?B?c3ViZXJiYWJpZXNjYW0=?= Windows XP Help 0 30th Dec 2003 05:41 AM
active window flashes inactive then active jk Microsoft Windows 2000 0 10th Aug 2003 09:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.