>Yes, I came back three months ago. Being away from my family made me homesick.
>
I can understand that.
but now back to my problem
I use you code like that:
nAttribute=1
declare integer SetFileAttributes IN kernel32 STRING, INTEGER
x1=SetFileAttributes(thisform.lcFilename,nAttribute)
it returns 1 in x1
but he read only flag does not change :-((
peter
Peter Cortiel