With that amount of stars... You'll be a premier member for many many years =)
>>I already did. My code looks like this:
>>
>>
PROCEDURE command6.CLICK
>>thisform.SetAll("Enabled",.F., "CommandButton")
>>Do form SITECODE
>>thisform.SetAll("Enabled",.T., "CommandButton")
>>WAIT
>>
>>I put the WAIT in just to see if the pgm was pausing. As soon as the form opens, I see the wait message
>
>If the form is a Top-level form, it can't be Modal. VFP coerces the WindowType property to 0 when the ShowWindow property = 2. Check the ShowWindow proeprty and change it to 0 and set the Desktop property to .T. if you want the form to operate outside of the VFP screen.
>
>HTH.