Home SQL PHP HTML Perl PowerBuilder C/C++ General Solutions Contacts

PowerBuilder

Index

Tips

Datawindow Timer
Executable Name
Include Objects
Is Executable?
Object Exists?

Objects

Downloads

Is Executable?

Purpose

To check if a Powerbuilder application is running as an executable

How To Use

I would suggest creating the following code as a non-visual class function, preferably as part of the application controller in a framework. It may equally be used anywhere, including as a global function. The function requires no parameters, and a return type of boolean.

Code
Returns

Boolean
TRUE if running as an executable
FALSE if running in the development environment

Suggestions

Useful for debugging purposes, amongst other things.

Details

Author:     Wayne Jones
Created:    16 December 2002
Works with: All versions
This is Code, all contents copyright - © Wayne Jones 2004.