>>>>>What was the behavior? Do you know if it was fixed in 7?
>>>>
>>>>BTW, the thread was fairly recent. (Last week?) You might be able to track
>>>>it down for more detail.
>>>
>>>I did. I created a form on my Win2K Server machine, on which I am a local admin, and ran the following code in a Click method:
>>>
>>>
WAIT WINDOW TRANSFORM(STRTOFILE(ThisForm.text1.value, "c:\temp\testval"))
>>>
>>>Every time it ran, I got the MaxLength of the control returned as the number
>>>of bytes written -- I didn't get the 0 return you were reporting. Any other
>>>ideas on how to duplicate it?
>>
>>I cannot answer this at the moment. My Win2K and WinME machines are at
>>another location. Should have an answer by the weekend.
>>
>>Are you sure that the file is being written each time?
>
>Yep.
Until I can get to the Win2K and WinME machines, I am somewhat at a standstill on this. However, I am intrigued that this worked for you. Were you using an EXE, APP, PRG, other? FWIW, I was using an EXE in each original case. For a test on NT, I was simply running the form from the form designer.