Greetings:
I am trying to rename a file and I get an error . These are the steps I have
done. This app is not using PFC
1)I created a local external function
Function boolean MoveFileA (ref string oldfile, ref string newfile) library
"KERNEL32.DLL"
2)I created a method in a userobject called of_rename and I have this fucntion call.
MoveFileA(as_SourceFile, as_TargetFile)
Here is the problem "MoveFileA returns FALSE".
3)as_sourcefile parameter and the as_TargetFile are all qualified with the path and
the filename.
The only thing I am thinking is the app is run on the network drive and the file I am
trying to rename is in my local drive. But I dont think it should be a problem.
Now in my other PFC app I am renaming a file and it works great. What am I missing??
TIA
JOsh
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]