Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Blum
  Where is Ken Blum?
 Chicago
 Illinois - United States
 Ken Blum
 To: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 Tags
Subject: RE: I Need an Opinion "Today if Possible&q...
Thread ID: 22738 Message ID: 22740 # Views: 45 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Thursday, April 24, 2003 3:56:13 PM         
   


> Hi,
>
> Let me know your opinion on the following situation.
>
> I am the system analyst and perform all the in house application design, deployment,
> and support.
> I normally via a form, have a central setup form allowing the user to configure global
> features and options within the application I am coding. Part of this setup is the
> UNC to the server location where the database and tables are stored. This is
> done in the normal manner with the normal GetFile( ) function to auto-fill in
> the server path and database name to a memory variable and then used to
> set the default path correctly.
>
> I have another individual in my team that for what-ever reason is insistant that
> the server path be controlled via a locally setup environmental variable as oppose
> to a user definable selection in my setup form, and I get the path with the
> a GetEnv( ) function to read in the path.
>
> I would appreciate you expert opinion on this from a software application
> perspective please.
>
> Pete from the Great White North. (Only in Canada, ay.) Over and Out ...

The only advantage to using GetEnv() that I can think of is that the environment variable could be controlled by an outside source, like a network logon script or config.sys file. This would allow for easy deployment of UNC or other changes in a networked environment.

KTB

COMPLETE THREAD

I Need an Opinion "Today if Possible" ? Posted by Pete Sass @ 4/24/2003 3:40:31 PM
RE: I Need an Opinion "Today if Possible&q... Posted by Ken Blum @ 4/24/2003 3:56:13 PM
RE: I Need an Opinion "Today if Possible&q... Posted by Pete Sass @ 4/24/2003 4:14:17 PM
RE: I Need an Opinion "Today if Possible&q... Posted by Eric den Doop @ 4/24/2003 5:33:09 PM
RE: I Need an Opinion "Today if Possible&q... Posted by Karben Selim Mejia @ 4/24/2003 7:00:49 PM
RE: I Need an Opinion "Today if Possible&q... Posted by Boudewijn Lutgerink @ 4/25/2003 11:30:59 AM