Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why FCreate() + FPuts() + FCLose()... take so long time ?
Message
From
19/08/2006 08:47:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Why FCreate() + FPuts() + FCLose()... take so long time ?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01146992
Message ID:
01146992
Views:
128
My code is as simple as that...

nHandle = FCreate("MyFilePlacedOnNetWork")
If nHandle > 0
= FPuts(nHandle, "AStringOfApprox100Characters")
= FClose(nHandle)
Endif

After the FClose() command, I am watching the Explorer window and the file is very long (about 5 secondes) to appear. Is it normal it take so long time? Is it because the Network ou Windows itself? Someone can explain to me the process?

P.S.: I have to use FCreate()... instead StrToFile() function because I put this code in a Foxpro-Dos compiled program. Don't laugh, I know... :-)
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Next
Reply
Map
View

Click here to load this message in the networking platform