Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program cannot be found
Message
De
26/08/2002 18:07:23
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/08/2002 11:00:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00693630
Message ID:
00693870
Vues:
16
>Thanks for help.
>I ran set("path") and set("default") in debug. There are no changes after and before run progarm2. When I run the project step by step there is not error occurs. But when I run it as normal, the program already cannot be found.
>
>Could you please tell me how I can solve this program?
>

Before calling program1 again, check for ?File("program1.prg"); if you get a .f., it's not in the given path.

It's not enough to look for changes in Set("Path") and Set("default") after and before; you need to have breakpoints on any change on them. Just put both in the watch window and double-click the margin to the left of each, to get the red dot. Then run your code, and it will stop when either of them changes. You can also add File("program1.prg") as the third, so you could catch the exact moment when it stops being visible to VFP.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform