can someone help me develop a beauty pageant system in vb6. there is a server and at least 5 clients. the entries on the clients by the judges will automatically be displayed on the server. this is actually a thesis on my school and i dont know where to start!
thanks...
03-07-2006 at 04:40 AM
|
misterxed Level: VB Lord Registered: 12-06-2005 Posts: 151
Re: Beauty Pageant System!
Hi Pol2k2,
U need to read about the WINSOCK control in VB... Its easy, and if u have basic knowledge of VB, u should be able to get it pretty soon...
The basic theme of ur software can b something like this:
A "Server" application, that can open multiple instances of the winsock client (use control arrays). This app should run as many instances of the winsock control as there will be clients... All winsock controls should be set to "listen" mode on different ports....
The "Client" app should have one instance of winsock client, and must try to connect on any of the already open ports on the server... Once the connection is established, u can start sending / receiving whatever data u like...
I'm uploading a simple TCP client example on the forum right now... U should b able to get it from the downlaods section as soon as admin reviews my code and posts it up... The code is commented a bit, so u should be able to understand...
Best of luck!
Regards
____________________________
lOsT...
03-07-2006 at 11:51 AM
|
stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 891
Re: Beauty Pageant System!
Hi,
Another and simpler method would be use a shared database. Where the server refreshes it's screen periodically.
Example:
1 access database sitting on a drive that all clients & server can see
1 app sitting on each client machine, connecting to this access database
1 app sitting on the server machine, connected to the same database.
the client software writes data to tables
the server-side software refreshes every 1 minute (or so) and reads from the same tables.
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
oh thanks for the replies! i will look forward on that sample program, misterxed. thanks stickleprojects.
can you give me even a very simple program that do the same job. actually, our lessons is more on theoretical side so im still digging for more information when it comes to application.