Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running exe vs .prg
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00080903
Message ID:
00080943
Vues:
33
>>>you're using a config file for file locations, right? does the network app have one?
>>never had to actully worry about it, how do I confirm this?
>>
>>>
>>>>Should there be any differences in running exe vs .prg?
>>>>I do and the prob is that when I run an exe from my development dir and a said listbox is empty of its data, but when I run the .prg or .exe from the curdir, it's ok. In all here's the situation:
>>>>do myprog.prg is ok
>>>>do myprog.exe is ok
>>>>do r:myprog is NOT ok. R: is network
>
>You probably need to set the default directory.
>
>SET DEFAULT TO R:\STARTDIR
>DO MYPROG
>
>hth,
>
>George
That gave me an idea, I checked R: and found an old copy of the data existed there and so I deleted it. I did NOT know that An App looks for data on the3 drive it was executed from even though the work directory is the curdir(). Does this make sense? Thanks for the help! sorry for being a nusience!
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform