Serial input to an app running in background

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Jun 2006
Posts: 3
Reputation: Sannn is an unknown quantity at this point 
Solved Threads: 0
Sannn Sannn is offline Offline
Newbie Poster

Serial input to an app running in background

 
0
  #1
Jun 29th, 2006
Hi,

I'm not sure if there's another topic about this but couldnt find it with the searchoption..

I'm creating an app which uses a cardreader, it works perfectly.. but now i have to let the app run in the background, but the cardreader still has to work, when a card is swiped it still has to bring the string to the app (for instance when another application has focus). How can i make it work in background without having to use directx?

Is it even possible??

Thanks,

San

(by the way, i'm using Visual Basic 6)
Last edited by Sannn; Jun 29th, 2006 at 5:21 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Serial input to an app running in background

 
0
  #2
Jun 29th, 2006
I don't see the problem.... VB is reading data from the serial port right? So should it matter if the form's .visible property is true or false?
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 3
Reputation: Sannn is an unknown quantity at this point 
Solved Threads: 0
Sannn Sannn is offline Offline
Newbie Poster

Re: Serial input to an app running in background

 
0
  #3
Jun 30th, 2006
Originally Posted by Comatose
I don't see the problem.... VB is reading data from the serial port right? So should it matter if the form's .visible property is true or false?
the problem is i cant seem to monitor the com port the reader is connected to because i get the message the comport is being used, so i have to use a textbox which has focus all the time (when the app is on focus).
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 119
Reputation: agrothe is an unknown quantity at this point 
Solved Threads: 14
agrothe's Avatar
agrothe agrothe is offline Offline
Junior Poster

Re: Serial input to an app running in background

 
0
  #4
Jun 30th, 2006
Originally Posted by Comatose
I don't see the problem.... VB is reading data from the serial port right? So should it matter if the form's .visible property is true or false?
I wonder is it possible the application doesn't have a proper hook on the serial port? Is a third party control being used or windows API?
------------------------------------------------------------
If you see no coffee in my immediate vicinity, speak slowly and use small words....
ConnectNL Directory | Blog
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 3
Reputation: Sannn is an unknown quantity at this point 
Solved Threads: 0
Sannn Sannn is offline Offline
Newbie Poster

Re: Serial input to an app running in background

 
0
  #5
Jun 30th, 2006
problem solved, i found out that windows accessabilities tools was using that port for serial input devices. turned it off and it works properly.

thanks all
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC