Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error reading file msg -vfp

Status
Not open for further replies.

foxbldr

Programmer
Apr 16, 2002
109
CA
Hi all,

I have a Win Xp machine running VFP 6 application that accesses network drives of NT4/Citrix environment.

During the execution, the application creates temp files on C drive using FCREATE and opens files (DBFs & other)from mapped drives. Occasionally, I get "error reading file" message while FERROR returns 0.

I have the same setup with W2K/VFP6/XP environment and it works fine. I read many postings related this error but couldn't find any suggestion that matches my environment.

Has anyone got a clue to fix this problem with VFP, without changing NT4 environment(client has 10 NT4 servers, migrating to W2k....$$$$$)

thank you all in advance.

Foxbldr
 
You get "error reading file" with fcreate....
Is this a VFP error or an OS error?

Rob.
 
This has to do with Citrix. I had similar problems several year ago, but haven't used it recently. Do some research into Citrix. It has to do with the way the drives are assigned in Citrix.
 
Rob,
Yes, Many times, I got the error with the line that contained FCREATE function. but, FERROR returned zero.
Code:
lnHandle=fcreate('dummy.txt',0)
if lnHandle>0
....
...
endif
=fclose(lnHandle)

Generlam,
I thought the same. Problem is network stuff are beyond my control.

thanks
foxbldr

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top