Information générale
Catégorie:
The Mere Mortals Framework
>>After compiling my .exe with VFP 5.0 and v 3.02 of MM, when I run a report I get a message that there is not enough space to create y:\foxuser.fpt. To my knowldege, I've never even referenced the y:\ drive in any code.
>
>Is the y:\ drive the default directory when you start the ap?
>
>Your wait windows don't fire... or, they are in code that doesn't run when running an .EXE? When running from an .EXE setpath() does not run.
>
>I think the best best is to set the startup path in your icon properties to the directory which you would like foxuser created in.
>
>BOb
Bob,
>Your wait windows don't fire... or, they are in code that doesn't run when running an .EXE? When running from an .EXE setpath() does not run.
>
This is a good question. The default drive is not the y:\ drive. I start the application from the user's c:\ drive. I have tried to ensure that the default drive is set in the config.fpw, but to no avail. I beleive the cGlobalEnvironment set's my resource to the foxuser in the home() directory. But since my wait windows don't fire unless running a program in debug, perhaps this object is not being instatiated. However, when I change the cSetReosurceto property everything runs fine. Very strange. I would rather have the resource set to the default in the home directory, rather than hard coding it each time.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement