Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does DCOM work with VFP?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00272471
Message ID:
00285409
Views:
28
>Hi Rick,
>
>I have a related question. I'd like to build a server object that is instantiated from the client (over the internet) and collects data from that client. So if the code in the server object sais: "Use customer" it should use the custumer table on the client. The object should act as if it was on the client, but the code is centralised on the server. Is this possible/the normal way/inpossible/hard?
>

There isn't any way to make this work. When you USE the table it is expecting it to be located in the search path. Usually that search path doesn't include the users machine ;-) It's not impossible, but it'd be really slow, buggy, unsecure, and generally a bad "general" solution.

What you could do is create a client-side application that can call your server. You could then transfer over your local information via HTTP to the server. It's not quite as easy as doing a USE, but it's not that hard either. Take a look in the White Papers section on Rick's site http://www.west-wind.com for more specific information on this.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform