1. Gimmy Susan
  2. PowerBuilder
  3. Friday, 2 March 2018 19:07 PM UTC
Hello
I need to recover some information from a program created with pb that is running.
1) the complete path from where the program started
2) the date of creation of the program (exe)

Are there any APIs?
I can not find anything

= (
Accepted Answer
Bruce Armstrong Accepted Answer Pending Moderation
  1. Friday, 2 March 2018 21:57 PM UTC
  2. PowerBuilder
  3. # Permalink

To get the location of the executable:

http://anvil-of-time.com/wordpress/powerbuilder/powerbuilder-application-path/

To read the version info out of the executable:

http://www.rgagnon.com/pbdetails/pb-0120.html

However, what I like to do with the second is to put something in the code that records the compile date and just use that:

http://nntp-archive.sybase.com/nntp-archive/action/article/%3C368_twHpvMVa9GA.128@forums.powersoft.com%3E

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 2 March 2018 19:36 PM UTC
  2. PowerBuilder
  3. # 1

Hi Gimmy;

        I know that you are using my Web Service framework.  If you use my other framework - called the Integrated Framework - it supplies you with all that information for the client, web and mobile apps. Of course, you are always welcome to just adopt the code you need from the frameworks into your own apps or home built framework as well.  wink

HTH

Regards ... 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.