Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An Application starter for multiuser setup. 1

Status
Not open for further replies.

ramani

Programmer
Mar 15, 2001
4,336
AE
An Application starter (with auto copy from server into local station).
faq184-4492

1. Make a gsStart.EXE distribution set. By including the VFP runtime files with the gsStart.EXE and making a installation set, makes the users installations very simple.

2. Since the code is very limited, you wont be revising this often as you may do with your application. That makes the working very easy.


3. This helps reduce the network trafic, by having the starter in each users local computer. The gsStarter will copy your pointed application to the local computer and start it every time auto synchronizing with server. SO any time you upgrade your application, simply copy it in the server and forget. The user will get distributed thru the gsStarter.EXE.

4. Make sure your application, sets the path to your server data location.. by adding suitable path statement..

Example..
gcDataPath = ADDBS(gcAppPath+"Data\")
gcOldPath = SET("PATH")
SET PATH TO gcAppPath+";"+gcDataPath+";"+gcOldPath

(May be I will include these text in the FAQ now).

Cheers. :)


____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
I've been wanting to write that FAQ!

You beat me to it... and Nice Job, Too!!
 
Wgcs,

I have been using this plus some extra user desktop cosmetics for a long time. In addition I am having more detailed routins to take care of user directory synchronisation as well. These are in operation for over an year now.

I could only get time to trim them down and post it here. However I have been advocating this in these threads for a long time and so decided to put it down as FAQ.

Any one can now use it to suit their requirement, but on a minimal basis, it will work as it is.

Thanks Wgcs for the star. :)


____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top