Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox does not see file at runtime
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00599962
Message ID:
00599978
Vues:
14
Thanks Craig, I do that, I have code to check for the file, something like

IF !FILE(lcMyFileName)
=MESSAGEBOX("Oh, Oh, file doesn't exist")
RETURN -1
ENDIF

I also have a MessageBox displaying the lcMyFileName variable,
I can see it from 'Windows Explorer', I can open start at that point and open the 'PRG' file!

This is unvelievable!

>Make sure you check for the file first. You may not actually be copying it.
>
>
>>Hello Everybody!
>> I have an application that takes some code stored in a memo field and copies it to a file, like COPY MyMemoName TO (lcMyFileName). Once it does that it
>>execute the file with DO (lcMyFileName). lcFilename has the path, like
>>'c:\temp\FileName.prg'. During development everything works beautifull, but at run time it tells me 'Error #1 file does not exist", I can't figure out the problem!
>> Any Ideas.
>>
>> Thanks in advance.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform