>Thanks I found the problem
>
>> DECLARE short SHOWWINDOW IN Win32API AS Win32ShowWindow ;
>
>DECLARE short ShowWindow IN Win32API AS Win32ShowWindow ;
>
>It is case sensitive and Beautify made it all caps.
You can prevent it from happening in the future. See mskb #
894818 New directives for the Beautify tool are available in Visual FoxPro 9
--sb--