Are you doing a READ EVENTS after the DO FORM?
>The following code is in a startup.prg:
>DO FORM datasources TO CurDataSource
>
>"datasources" is a modal form which allows users to select from different databases. The problem is, this code works fine in VFP and when I run the compiled exe from the VFP command window. It doesn't work (almost like it's skipped) when the .exe is run from Windows.
>
>Any ideas why? All default form props except:
>AlwaysOnTop = .t.
>AutoCenter = .t.
>WindowType = 1-Modal