Jump to Real's How-to Main page

Detect if running in PB or executable

IF Handle(GetApplication()) = 0 THEN
   MessageBox("Info", "Running in PB environment")
ELSE
   MessageBox("Info", "Running in standalone executable")
END IF

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]