>Hi,
>
>I recently want to modify the DBF file header so that normal program cannot open it, the header first byte is
>
>0x03, I want to change it to 0xFF
>and on changing it back, I coded the following below
>
>lbyte1 = RIGHT(TRANSFORM(03,'@0'),2)
Try:
lbyte1 = CHR(3)
>FSEEK(lFileHandle,0,0)
>fwrite(lFileHandle, lbyte1,1)
>
>
>On completion, I often see 0x30, not 0x03, the file can still be
>open. How can I code it to write 0x03.
>What is wrong with my code, please advise or comments.
>Thank a lot.