
06-25-2003, 09:13 PM
|
|
Centurion
|
|
Join Date: Jun 2003
Posts: 107
|
|
Help regarding accessing an application on a remote server.
|
Hi.
I just made an application using VB, with the Access as its database. There's gonna be about 5 users who will be using it simultaneously. Is there anyway I can make a client/server application that enables the 5 users to access the VB application in a remote PC? I'm thinking something along the lines of specifying w/c PC to connect (client side) then, upon connection, the server automatically runs that application alone.
I wanted to do this because I want to do the accessing of the VB application in such a way that only the VB application is accessible and the database I'm using won't have to be networked.
I've tried experimenting with the winsock controls by making a client/server application that basically just transfers messages from each other. I keep on getting a run-time error 40006 every time I call the winsock.SendData method. Also, for some inane reason, I have this form_terminate method where if the client terminates/closes the form, the connection to the server is closed. What happens is, immediately after I connect to the server, the connection is closed. Why is this so?
Thanks in advance. If you guys need a copy of both my codes, I'm going to post it up.
|
|