I prefer to use
System.Diagnostics.Debugger.IsAttachedThis property returns TRUE when you hit F5 to start your application but returns FALSE if you hit CTRL-F5 (start without debugging).
>Hi, everyone
>
>I would like to skip the login form if I am running the app from IDE. VFP's equivalent is _VFP.StartMode. Is there a setting to check if the app was launched from IDE?
>
>Thank you.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com