Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PATH problems....
Message
De
02/07/2002 00:37:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/07/2002 17:23:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00674149
Message ID:
00674281
Vues:
18
>Hi,
> I am starting to use VFP70, and found a problem, before we had the files, forms, prgs, etc, all together so at the time of debugging, it was with no problem.
> Now we decided to "pup" everything in order and created separated folders, each for forms, prgs, files, images, etc. The main program didn't have a PTH statement, so We decid to "add" it, something like this:
>
>set path ..\prgs, ..\images, ..\foems, d:\my_app
>
> The problem: When debugging the system says that the program is out of date( but not because the prg!) this happens because the system "cannot" find the proper prg, it is located under d:\my_app bu for somereason cannot find the ..\prgs folder.
>
> I would like to be able to debug with no problems, is there any way to set the environment in order to accomplish it in vfp70?
>
>
>Thanks!!!!!

Juan,
set path to ..\prgs, ..\images, ..\forms, d:\my_app
..\prgs in path statement means curdir()+'..\prgs'. If curdir() is c:\myvfpprojects\, is prgs really c:\prgs ?

I generally set it like :
set path to prgs;images;forms;d:\someotherneededdir

curdir() is my project dir and prgs, forms etc are under project dir.

PS: I don't put the path in main but rather set in tools\options\file locations so that I might explicitly test just one or more form, prg etc.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform