Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path disappearing
Message
De
03/08/1998 20:10:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00122843
Message ID:
00123672
Vues:
17
After running a form, I check the path and it's ok, but then the next time I test a form, I get the error (sometimes).
IOW, somehow while I'm modifying a form, or a class or something else during development, the path gets chopped. The debugger won't catch that, because there is no prog() running.

>When you say Path, my guess is that you are referring to the string that is returned by Set("path")....correct....
>
>My advice is to set a breakpoint in the debugger on the expression Set("path"). This will cause your program execution to terminate whenever the path changes.
>
>
>
>>Intermittantly I discover that my path has been chopped off to 256 characters.
>>I never put the path into a variable and then restore it later, so I can't figure out what's doing it.
>>My frmBase class tries to open a table that is located at the end of my path (in frmBase.Init()), so I discover this only when I try to run a form. By that time, I have no idea what might have done it. I've been developing since the last time the form was run.
>>
>>Any one have any ideas why it might happen?
>>
>>TIA
Bill Morris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform