Home > Archive > FoxPro Setup > April 2005 > Default path settings for multiple projects









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Default path settings for multiple projects
FMara

2005-04-07, 8:05 pm

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

2005-04-07, 8:05 pm

Hello, FMara!

You can specify the search path in Options | File Locations.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8


Craig Berntson

2005-04-07, 8:05 pm

Use the Environment Manager Task Pane. Very nice tool.

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


"FMara" <FMara@discussions.microsoft.com> wrote in message
news:153B6343-7FC7-47E0-82F8- 89651C530642@microso
ft.com...
> 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.



Stefan Wuebbe

2005-04-07, 8:05 pm

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\myPro
ject1\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[
/color]

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


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




"FMara" <FMara@discussions.microsoft.com> schrieb im Newsbeitrag
news:153B6343-7FC7-47E0-82F8- 89651C530642@microso
ft.com...[color=darkred]
> 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.


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com