Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / Setup / March 2005

Tip: Looking for answers? Try searching our database.

Default path settings for multiple projects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
FMara - 16 Mar 2005 10:49 GMT
Hello = I am a beginnner with VFP Ver 8.0 and I am working on handful of
small projects simultaneously.  I'm having trouble setting the default paths
for each project.  Here's my directory structure on XP ProSR2:

C:\program files\microsoft visual foxpro 8\projects\project1
C:\program files\microsoft visual foxpro 8\projects\project2
C:\program files\microsoft visual foxpro 8\projects\project3
etc...

Each project directory contains the standard set of subdirectories created
by the VFP project wizard.

The only way I've found to set the correct path for each project is via the
Environment Manager.  I've created a separate environment for each project.  
As you can imagine, the settings for each project are fairly redundant.  Is
there an easier, more elegant way to do this?  Thanks for the advise.
Eric den Doop - 16 Mar 2005 12:19 GMT
Hello, FMara!

You can specify the search path in Options | File Locations.
Signature

Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8

Craig Berntson - 16 Mar 2005 16:18 GMT
Use the Environment Manager Task Pane. Very nice tool.

Signature

Craig Berntson
MCSD, Visual FoxPro MVP
www.craigberntson.com
Salt Lake City Fox User Group
www.slcfox.org
www.foxcentral.net

> Hello = I am a beginnner with VFP Ver 8.0 and I am working on handful of
> small projects simultaneously.  I'm having trouble setting the default
[quoted text clipped - 16 lines]
> Is
> there an easier, more elegant way to do this?  Thanks for the advise.
Stefan Wuebbe - 18 Mar 2005 13:09 GMT
An (older) alternative for Craig's suggestion is having a desktop shortcut
for each project pointing to the vfp8.exe in the Home() folder, with an
additional -C parameter pointing to project-specific config.fpw files.

Those config-project1.fpw files can contain lines like
   title = my project
   resource = x:\myDevFolder\myProject1\foxuser
   command = Modify Projec myProj1.pjx
That way the desktop shortcut "Run in:" folder should be your project's
root folder

> C:\program files\microsoft visual foxpro 8\projects\project1
> C:\program files\microsoft visual foxpro 8\projects\project2
> C:\program files\microsoft visual foxpro 8\projects\project3

It's often better to store your own stuff outside the VFP Home() (and
also outside the entire O/S in %programfiles% folder), e.g. in case
of reinstalling VFP or when you may want to work as WinXP/ W2k
"limited user"

hth
-Stefan

Signature

|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
 - /  See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------

> Hello = I am a beginnner with VFP Ver 8.0 and I am working on handful of
> small projects simultaneously.  I'm having trouble setting the default paths
[quoted text clipped - 12 lines]
> As you can imagine, the settings for each project are fairly redundant.  Is
> there an easier, more elegant way to do this?  Thanks for the advise.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.