944,033 Members | Top Members by Rank

Ad:
Jun 29th, 2006
0

Serial input to an app running in background

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Sannn is offline Offline
3 posts
since Jun 2006
Jun 29th, 2006
0

Re: Serial input to an app running in background

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?
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Jun 30th, 2006
0

Re: Serial input to an app running in background

Quote 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).
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Sannn is offline Offline
3 posts
since Jun 2006
Jun 30th, 2006
0

Re: Serial input to an app running in background

Quote 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?
Reputation Points: 37
Solved Threads: 18
Junior Poster
agrothe is offline Offline
151 posts
since Jun 2006
Jun 30th, 2006
0

Re: Serial input to an app running in background

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Sannn is offline Offline
3 posts
since Jun 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: how do i add the numbers in a listbox and display it in another textbox?
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: to carry tables





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC