Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy memo fails if file exists
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01513136
Message ID:
01513141
Vues:
50
>>>Hi everybody,
>>>
>>>I have the following line of code
>>>
>>>copy memo contents to (lcFile)
>>>
>>>I found that it fails for the regular user if the file already exists in the directory. The user does have read-write access to the parent directory (and I assume to all its children?).
>>>
>>>Do you find this to be the case for you as well and what will be the solution?
>>>
>>>Thanks in advance.
>>
>>Are you getting an error? I am not getting an error but the prompt if I want to overwrite the file.
>
>I am getting an error, but only when I log as a regular user (and if I try to copy into ProgramData\MyApp\MySubDir). I do have read-write rights in the MyApp\ directory as this is what I also tested.
>
>I'm getting the error in the application - if I try to do this from the command window I am also getting a prompt.

Is it possible that in the program when you specify the name of the folder you have spaces in the folder name?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform