Make sure to use the code exactly as shown, since API calls are case sensitive.
>I created a main and put it there...but it still doesnt activate...ill change up the position of the Activate window function
>
>>Put the code as it was in a message in your main.prg.
>>
>>From the main form Activate method try
>>
>>ActivateWindow(thisform.hwnd)
>>
>>I'm not 100% certain is needs to be called from form's Activate, but try it this way first.