<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Also it doesn’t matter where the configuration files are – you can put them
on the client PC, or you can put them on the server, and keyed by either the
login name or the computername (or even both).</DIV>
<DIV> </DIV>
<DIV>On reading what you are doing I realised that one of my configurations
actually does it back to front from what you described:</DIV>
<DIV> </DIV>
<DIV>Programs are stored and run from the client PC, but settings are stored on
the server, in inifiles with the individual employees details in the name of the
ini file.</DIV>
<DIV> </DIV>
<DIV>Reasons are:</DIV>
<DIV> </DIV>
<DIV>- programs are updated from central folder but run updated automatically to
local pc and run locally for performance reasons and so the central programs can
be updated with no issues.</DIV>
<DIV> </DIV>
<DIV>- settings stored on server so they can be backed up and administered from
server. Also as well as multiple employee settings all stored together,
the setup is multi-company so that different organisations can share the same
server – ie the name of all files differs for type of settings/employee/company
or organisation/</DIV>
<DIV> </DIV>
<DIV>- also allows me to copy whole client configuration onto my system so can
troubleshoot and run exact clients setup without overwriting my setup.</DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=jscoulter@gmail.com
href="mailto:jscoulter@gmail.com">Jeremy Coulter</A> </DIV>
<DIV><B>Sent:</B> Wednesday, July 8, 2015 9:58 PM</DIV>
<DIV><B>To:</B> <A title=delphi@listserver.123.net.nz
href="mailto:delphi@listserver.123.net.nz">NZ Borland Developers Group - Delphi
List</A> </DIV>
<DIV><B>Subject:</B> [DUG] Question about running an app. across a
network</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>Hi All.
<DIV>I have an app that I will be running from a server location. However, I
want the app. to read an ini file that is located in a folder on a client
machine.</DIV>
<DIV>A Shortcut to the app on the server and the ini file will live in a folder
on the client machine, but I cant work out how to get the app, when its run via
the shortcut, to read the ini file on the client machine.</DIV>
<DIV>Anyone know how to go about doing this?</DIV>
<DIV>I have thought about dropping the INI and transferring the settings to a
database with a row for each machine that connects, but before I get that
carried away, I just wanted to see if someone had any ideas to do the above with
the ini file.</DIV>
<DIV>The reason I want an ini for each computer is about settings. Not all
machines have the same settings etc.</DIV>
<DIV> </DIV>
<DIV>Thanks, Jeremy</DIV></DIV>
<P>
<HR>
_______________________________________________<BR>NZ Borland Developers Group -
Delphi mailing list<BR>Post: delphi@listserver.123.net.nz<BR>Admin:
http://delphi.org.nz/mailman/listinfo/delphi<BR>Unsubscribe: send an email to
delphi-request@listserver.123.net.nz with Subject:
unsubscribe</DIV></DIV></DIV></BODY></HTML>