Hi Don,
I'm glad you got it to work. BTW, you would see this in VFP8 right away because it colors multiline comments properly know.
>Good afternoon Sergey
>
>Problem Solved! VFP was reading first line of code as a continuation of a comment; like this:
>
> *NumToLONG(_screen.hWnd) + ;
> lcFileOpStruct = NumToLONG(frmmyform.hWnd) + ;
>
>and therefore not reading the lcFileOpStruct block of code.
>
>All I had to do was separate the lines with a blank line, like this.
>
> *NumToLONG(_screen.hWnd) + ;
>
> lcFileOpStruct = NumToLONG(frmmyform.hWnd) + ;
>
>
>It works fine now.
>
>Thanks
>- Don Lowrey
--sb--