1. John Greiner
  2. PowerBuilder
  3. Monday, 10 June 2019 18:33 PM UTC

The version information will display in the Windows property, but how does one access this to display it in a Power Builder window? Using the GetContextService for the ContextInformation returns version information for Power Builder itself and not the application.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 10 June 2019 19:17 PM UTC
  2. PowerBuilder
  3. # 1

Hi John;

  You are most welcome to extract the code from my framework. The framework also handles PowerServer Web App signature and PS Mobile App signature. 64bit P-Code, 32 bit P-Code & 32bit M-Code native PB Apps are supported. Following is a 32bit Machine-Code example:

 

HTH

Regards ... Chris

Comment
There are no comments made yet.
David Pylatuk Accepted Answer Pending Moderation
  1. Tuesday, 20 February 2024 16:56 PM UTC
  2. PowerBuilder
  3. # 2

Very interested in this thread Chris. Would you be able to point me in the right direction in your framework where I would find the calls to return this string information?

 

Thank you.

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 20 February 2024 21:53 PM UTC
Hi David;

This information is gleaned off the EXE in the framework via ...

Object: nc_app_controller_master

Method: of_check_exe_version

Library: STD_FC_Base.pbl

HTH

Regards .. Chris
  1. Helpful
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 20 February 2024 17:18 PM UTC
  2. PowerBuilder
  3. # 3

Hi, David -

Another alternative is to examine the OSVersion free code example application on Roland Smith's TopWizProgramming web site. It shows you how to extract this information from an exe or dll:

    https://www.topwizprogramming.com/freecode_osversion.html

Here's an example of the information it extracted from Excel on my PC:

Best regards, John

Comment
There are no comments made yet.
David Pylatuk Accepted Answer Pending Moderation
  1. Wednesday, 21 February 2024 14:08 PM UTC
  2. PowerBuilder
  3. # 4

Will look at this now. Thanks Chris.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.