Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Mabuhay! Code Project Team!

I need help regarding Customer Queuing System similar to a bank queuing system (FIFO). I already have the working code, i have used the generic queue class in vb 2010 and its working so far on a single machine and a LED TV for displaying the customer queue.

Here's the scenario and screenshot:

http://imageshack.com/a/img6/4972/kkvu.jpg[^]

1. I have created 2 Forms:

Form1: Display Queue Controller in pc monitor
Form2: Display Queue number in LED TV

The LED TV is connected to a pc via DVI-VGA

2. The host pc is the counter 1 controlling the queue.

My question is, if I connect another pc as counter 2 how can I control the queue and output the queue in the LED TV?

I have tried to share the program and access via LAN on the second pc (counter 2) but the queue system has no effect at all. On the second pc I cannot increment the queue and output the result to the LED TV.

I welcome any suggestion and recommendation.

Regards to all!

Arnel
Posted
Updated 7-Nov-13 14:45pm
v2
Comments
Sergey Alexandrovich Kryukov 7-Nov-13 20:20pm    
Probably you mean VB.NET, not VB, don't you?
And what do you mean by "Form"? Full type, please?
—SA
ArnelMangampo 8-Nov-13 21:42pm    
Visual Studio 2010 - Visual Basic. I have created 2 forms: 1st form for controlling the queue and the 2nd form for displaying the queue in LED TV
Sergey Alexandrovich Kryukov 8-Nov-13 22:17pm    
Okay, still no answer. I see...
—SA
ArnelMangampo 9-Nov-13 20:27pm    
yes VB.NET, sorry to confuse you. FORM: i mean windows form application

The most likely way to do this, is to have many machines all connected to a central machine. The central machine controls the television, and stores the list, the other machines interact with the main machine to make requests to change the queue.
 
Share this answer
 
Comments
ArnelMangampo 9-Nov-13 20:30pm    
Thank you Mr. Graus, I have considered this idea before but the problem is I don't know how to do this or what kind of approach should I take. This is more likely a client/server system. The central machine will act as a server and the other machines sending the queues are clients.
Christian Graus 9-Nov-13 20:34pm    
That is absolutely correct. If they are all on a network, getting communication between them should not be difficult at all, but I'd still do it through IIS and a web service, just because that's what all your tools are designed for. If someone is paying for this and you have no idea how to do it, you should tell them. If it's school work, you should talk to your teacher. In either case, if you're remotely up for this task, you should be able to do some research based on what I've told you. More granular answers are there for you, you just need to do some work, and ask more granular questions as you get stuck on specifics. No-one can give you a cut and paste solution on a question this vague, even if they wanted to.
ArnelMangampo 10-Nov-13 20:04pm    
I understand, this is actually a work project from my office a public general hospital queuing system for out patient department. Other solution i have in mind is just to buy extra monitor for each controller and connect it directly to their pc as secondary output thus eliminating the LED TV as queue display. I have tried it the other and its working fine so far.

Thank you, Mr. Graus and more power to CodeProject Team.

If you use a queue class, it cannot help you to communicate between different computers. You need to use some network-enabled queuing system (middleware) such as MSMQ:
http://en.wikipedia.org/wiki/MSMQ[^].

There is a number of other queuing products.

Alternatively, you can develop appropriate network facility by yourself. It can be done on one of several different levels of networking, remoting or WCF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900