I have two computers (A and B) that are connected together through an ethernet connection, and they can see each other.
Users on computer B select items they would like to purchase. The user changes constantly (it is a touch screen in a mall). The program on computer A sees what the users on computer B have selected (once they select 'Send').
Here is how I am doing this. Computer A and B have a networked mapped directory they share. When the users on computer B click 'Send' their selections are sent to a common file on the mapped directory. This file is created each morning and appended whenever a user on computer B selects 'Send'. I have a timer on computer A that at set intervals looks to see if the last modified time of the common file has changed. If it has, it is opened and read. The results are display on computer A.
I have thought of having each user of computer B send the data to a separate time stamped file and have computer A search for new files. This would eliminate computer A trying to read the file while computer B is trying to write to it.
What I would like to do is have computer B dump the data into a listbox in the program computer A is running without having to deal with files. Is that possible? If so, can some one lead me in the right direction? I have tried searching for this and have come up with nothing - thanks
Users on computer B select items they would like to purchase. The user changes constantly (it is a touch screen in a mall). The program on computer A sees what the users on computer B have selected (once they select 'Send').
Here is how I am doing this. Computer A and B have a networked mapped directory they share. When the users on computer B click 'Send' their selections are sent to a common file on the mapped directory. This file is created each morning and appended whenever a user on computer B selects 'Send'. I have a timer on computer A that at set intervals looks to see if the last modified time of the common file has changed. If it has, it is opened and read. The results are display on computer A.
I have thought of having each user of computer B send the data to a separate time stamped file and have computer A search for new files. This would eliminate computer A trying to read the file while computer B is trying to write to it.
What I would like to do is have computer B dump the data into a listbox in the program computer A is running without having to deal with files. Is that possible? If so, can some one lead me in the right direction? I have tried searching for this and have come up with nothing - thanks