Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server-client application
Message
From
06/05/2004 22:05:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/05/2004 21:57:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00901814
Message ID:
00901819
Views:
15
>peace!!!
>i have a home network. and im going to distibute my application to the network or some kind of server-client approach???... what are the things that im going to do in order to accomplish that or to access my program into the network..
>
>please give me some tips or techniques or some sample codes to guide me.
>thanks!!!

You really don't need client/server, if you only need network access.

Put your executable into a shared folder.

Put the data (database and tables) in a folder called DATA under the shared folder.

The executable accesses the tables with the relative path DATA\MyDatabase.DBC, DATA\MyTable.DBF, etc.

To allow sharing, SET EXCLUSIVE OFF before opening any tables.

I recommend you use optimistic buffering for all your tables.

I also recommend you use private datasessions for all your forms. If you do this, you can test potential problems with table sharing, simply by opening the same form twice.

And that's about it.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform