PowerBuilder

Tuesday, January 15, 2013

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 I
Posted by Unknown at 11:29 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

  • VB Scripting in PowerBuilder
  • Windows 7 Shell Commands

Blog Archive

  • ▼  2013 (17)
    • ▼  Jan (17)
      • Get a List of Column Names in a DataWindow using D...
      • VB Scripting in PowerBuilder
      • Windows 7 Shell Commands
      • RunDll Commands
      • Access Stored User Names and Passwords with rundll...
      • Alternate row color
      • Use a Java class (PB9)
      • Scan Window titles
      • Detect if running in PB or executable
      • Terminate an another application
      • Evaluate an expression
      • Retrieve an environment variable
      • Get the executable name
      • Open the Webapge in PowerBuilder
      • Creating Registry file Using PowerBuilder
      • Access PB Code in VB
      • Accessing Word in PowerBuilder

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments
Simple theme. Powered by Blogger.