Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Communications > Serial port vs. App window state


Reply
 
Thread Tools Display Modes
  #1  
Old 04-16-2008, 08:11 PM
Mathimagics's Avatar
Mathimagics Mathimagics is offline
Algorithms 'R' Us

Forum Leader
* Guru *
 
Join Date: Jun 2002
Location: Canberra
Posts: 4,123
Question Serial port vs. App window state


I have an "Irman" infra-red sensor connected to a serial port. This handy little device lets you use any hand-held remote control unit as a PC input device.


It also comes with an ActiveX control that makes program interface simple - an event "OnReceive" is triggered whenever a registered remote-control button is pressed.


I've just noticed that if I minimise the client application window, then remote control button events are not being responded to, but they seem to be queued, the OnReceive events only get triggered when the window is restored.


I'm not sure whether this is a bug/feature of this control, or perhaps there some more generic cause.

Any suggestions?
__________________
Sept, 2006: 2 ^ 232,582,657 - 1 is prime!

At first, I was iridescent. Then, I became transparent. Finally, I was absent.
Reply With Quote
  #2  
Old 04-16-2008, 08:20 PM
Mathimagics's Avatar
Mathimagics Mathimagics is offline
Algorithms 'R' Us

Forum Leader
* Guru *
 
Join Date: Jun 2002
Location: Canberra
Posts: 4,123
Default

Ah, nuts!!

It isn't queueing the events at all, it just looked like it was ... the problem was elsewhere (ie. brain damage )
__________________
Sept, 2006: 2 ^ 232,582,657 - 1 is prime!

At first, I was iridescent. Then, I became transparent. Finally, I was absent.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->