Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Client Server Programming

2 views
Skip to first unread message

Yew

unread,
May 23, 2004, 10:40:51 AM5/23/04
to
Let say i got 2 pc connected thru a LAN, and a vb program is running on pc1,
and pc2 needs to run the same program on pc1 thru the network. The vb
program will authenticate the user from pc2 thru the login module. The
problem is how do I write the single vb program that will allow multiple
access to it, while maintaining each user's data and variables values? and
how do I limit the number of users that can connect to the program?


Mike Walker

unread,
May 23, 2004, 4:27:17 PM5/23/04
to
I would have a single database in the background, this will log the users
name / password and when they log in/out
Run this on PC1, install the program on PC2 and point the data path
to PC1, that way you have two independent programs, variables etc

Mike.

"Yew" <ghos...@streamyx.com> wrote in message
news:40b0b7eb$1...@news.tm.net.my...

Steve Gerrard

unread,
May 23, 2004, 9:46:33 PM5/23/04
to

"Yew" <ghos...@streamyx.com> wrote in message
news:40b0b7eb$1...@news.tm.net.my...

No need to. When pc2 runs the program, the executable will be read from
pc1, but it will be loaded and run in the memory of pc2.

The only way for pc2 to run a program in pc1 memory is to use a program
such as PC Anywhere, VNC, or other remote control software, or you could
use an ActiveX.exe and remote objects, but that is a different topic.

If there is a database involved, you may need to be concerned about the
number of connections to the database, but that is also a different
topic.


0 new messages