How to get powerbuilder library version, date-time stamp at run-time?

Hi,

We would like to see list of all libraries of running application along 
with their version and date/time stamp (in about window). We would like to 
get version number of compiled powerbuilder libraries (pbd's) at run-time. 
I don't know if pibbles compiled in dll format have advanced features (as 
regular dll - where right clicking on it and selecting properties will 
allow user to see version number of dll). Anyway, compilation of pibbles in 
dll format is not an option for us. I would like to see if anybody came 
across a solution and would like to share it with me. I would be very 
thankful. Thanks in advance.

Gracjan
0
Gracjan
7/9/2001 3:39:05 PM
sybase.powerbuilder.general 62418 articles. 16 followers. Follow

6 Replies
981 Views

Similar Articles

[PageSpeed] 14

See if the Environment object meets your needs...

/ck

<Gracjan> wrote in message
news:E5D42958D2B67DE80055F9D485256A84.0055F9E785256A84@webforums...
> Hi,
>
> We would like to see list of all libraries of running application along
> with their version and date/time stamp (in about window). We would like to
> get version number of compiled powerbuilder libraries (pbd's) at run-time.
> I don't know if pibbles compiled in dll format have advanced features (as
> regular dll - where right clicking on it and selecting properties will
> allow user to see version number of dll). Anyway, compilation of pibbles
in
> dll format is not an option for us. I would like to see if anybody came
> across a solution and would like to share it with me. I would be very
> thankful. Thanks in advance.
>
> Gracjan


0
Chris
7/9/2001 2:27:55 PM
Thanks but information in environment object is not enough (but still can 
be used). The reason I want to be able to get version of libraries is to 
ensure that right source code went to production (development group is not 
responsible for delivery of compiled code).
0
Gracjan
7/10/2001 1:42:56 PM
There is no version number on a PBD, but you can get a file date/time.
The EXE is non-standard, so I don't *think* you can get it through
normal means. Look at the file service in PFC, or dig up the API info
on http://www.puterwerks.com or http://msdn.microsoft.com.

Good luck,

Terry [TeamSybase] and Sequel the techno-kitten

On Tue, 10 Jul 2001 09:42:56 -0400, Gracjan wrote:

>Thanks but information in environment object is not enough (but still can 
>be used). The reason I want to be able to get version of libraries is to 
>ensure that right source code went to production (development group is not 
>responsible for delivery of compiled code).


Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a PowerBuilder Developer's Toolkit. 
Version 2 now available at the Sandbox

Charitable donations without money?
CLICK FOR FREE MONEY!!
The Hunger Site: http://www.thehungersite.com
The Rainforest Site: http://www.therainforestsite.com
The Kids AIDS Site: http://www.thekidsaidssite.com
The Child Survival Site: http://www.thechildsurvivalsite.com
The Breast Cancer Site: http://www.thebreastcancersite.com
The Landmine Site: http://www.thelandminesite.com
0
Terry
7/11/2001 11:24:51 AM
Yes, you can get the version info from the EXE (in what way isn't it
standard?  Or are you thinking of the DLLs?)
At this point Roy usually pops up and gives the URL of the page with the
version info object I wrote...
S.

--
Simon Caldwell
Get Real Systems Ltd
Holtby Manor, Stamford Bridge Road, York, YO19 5LL
Tel 01904 481999 Fax 01904 481666
Visit us at www.getrealsystems.com

Specialists in e-Procurement and supply chain technology


"Terry Voth" <sequel@techno-kitten.com> wrote in message
news:dndoktg2siaugnqsim153589as8sgd1qem@4ax.com...
> There is no version number on a PBD, but you can get a file date/time.
> The EXE is non-standard, so I don't *think* you can get it through
> normal means. Look at the file service in PFC, or dig up the API info
> on http://www.puterwerks.com or http://msdn.microsoft.com.
>
> Good luck,
>
> Terry [TeamSybase] and Sequel the techno-kitten
>
> On Tue, 10 Jul 2001 09:42:56 -0400, Gracjan wrote:
>
> >Thanks but information in environment object is not enough (but still can
> >be used). The reason I want to be able to get version of libraries is to
> >ensure that right source code went to production (development group is
not
> >responsible for delivery of compiled code).
>
>
> Sequel's Sandbox: http://www.techno-kitten.com
> Home of PBL Peeper, a PowerBuilder Developer's Toolkit.
> Version 2 now available at the Sandbox
>
> Charitable donations without money?
> CLICK FOR FREE MONEY!!
> The Hunger Site: http://www.thehungersite.com
> The Rainforest Site: http://www.therainforestsite.com
> The Kids AIDS Site: http://www.thekidsaidssite.com
> The Child Survival Site: http://www.thechildsurvivalsite.com
> The Breast Cancer Site: http://www.thebreastcancersite.com
> The Landmine Site: http://www.thelandminesite.com


0
Simon
7/12/2001 10:51:50 AM
Terry's right that a PB EXE is non-standard, but it's close enough to use
the APIs for querying resources.

It's non standard in that it doesn't conform to the Windows Portable
Executable (PE) format.  There is a section of PB-proprietary binay that's
appended to the EXE.  If you try to update the resource, say, with a Windows
API it will truncate the PB info, lobotomizing your EXE.  (Then again, some
PB programs probably SHOULD be lobotomized.)

Regards,

Phil Wallingford
E. Crane Computing


Simon Caldwell [TeamSybase] <simonDOTcaldwellATgetrealsystemsDOTcom> wrote
in message news:lfXt$RsCBHA.252@forums.sybase.com...
> Yes, you can get the version info from the EXE (in what way isn't it
> standard?  Or are you thinking of the DLLs?)
> At this point Roy usually pops up and gives the URL of the page with the
> version info object I wrote...
> S.
>
> --
> Simon Caldwell
> Get Real Systems Ltd
> Holtby Manor, Stamford Bridge Road, York, YO19 5LL
> Tel 01904 481999 Fax 01904 481666
> Visit us at www.getrealsystems.com
>
> Specialists in e-Procurement and supply chain technology
>
>
> "Terry Voth" <sequel@techno-kitten.com> wrote in message
> news:dndoktg2siaugnqsim153589as8sgd1qem@4ax.com...
> > There is no version number on a PBD, but you can get a file date/time.
> > The EXE is non-standard, so I don't *think* you can get it through
> > normal means. Look at the file service in PFC, or dig up the API info
> > on http://www.puterwerks.com or http://msdn.microsoft.com.
> >
> > Good luck,
> >
> > Terry [TeamSybase] and Sequel the techno-kitten
> >
> > On Tue, 10 Jul 2001 09:42:56 -0400, Gracjan wrote:
> >
> > >Thanks but information in environment object is not enough (but still
can
> > >be used). The reason I want to be able to get version of libraries is
to
> > >ensure that right source code went to production (development group is
> not
> > >responsible for delivery of compiled code).
> >
> >
> > Sequel's Sandbox: http://www.techno-kitten.com
> > Home of PBL Peeper, a PowerBuilder Developer's Toolkit.
> > Version 2 now available at the Sandbox
> >
> > Charitable donations without money?
> > CLICK FOR FREE MONEY!!
> > The Hunger Site: http://www.thehungersite.com
> > The Rainforest Site: http://www.therainforestsite.com
> > The Kids AIDS Site: http://www.thekidsaidssite.com
> > The Child Survival Site: http://www.thechildsurvivalsite.com
> > The Breast Cancer Site: http://www.thebreastcancersite.com
> > The Landmine Site: http://www.thelandminesite.com
>
>


0
Phil
7/12/2001 4:11:30 PM
Thanks :-)

--
Simon Caldwell
Get Real Systems Ltd
Holtby Manor, Stamford Bridge Road, York, YO19 5LL
Tel 01904 481999 Fax 01904 481666
Visit us at www.getrealsystems.com

Specialists in e-Procurement and supply chain technology


"Phil Wallingford" <philw@ecrane.com> wrote in message
news:4qotW#uCBHA.250@forums.sybase.com...
> Terry's right that a PB EXE is non-standard, but it's close enough to use
> the APIs for querying resources.
>
> It's non standard in that it doesn't conform to the Windows Portable
> Executable (PE) format.  There is a section of PB-proprietary binay that's
> appended to the EXE.  If you try to update the resource, say, with a
Windows
> API it will truncate the PB info, lobotomizing your EXE.  (Then again,
some
> PB programs probably SHOULD be lobotomized.)
>
> Regards,
>
> Phil Wallingford
> E. Crane Computing
>
>
> Simon Caldwell [TeamSybase] <simonDOTcaldwellATgetrealsystemsDOTcom> wrote
> in message news:lfXt$RsCBHA.252@forums.sybase.com...
> > Yes, you can get the version info from the EXE (in what way isn't it
> > standard?  Or are you thinking of the DLLs?)
> > At this point Roy usually pops up and gives the URL of the page with the
> > version info object I wrote...
> > S.
> >
> > --
> > Simon Caldwell
> > Get Real Systems Ltd
> > Holtby Manor, Stamford Bridge Road, York, YO19 5LL
> > Tel 01904 481999 Fax 01904 481666
> > Visit us at www.getrealsystems.com
> >
> > Specialists in e-Procurement and supply chain technology
> >
> >
> > "Terry Voth" <sequel@techno-kitten.com> wrote in message
> > news:dndoktg2siaugnqsim153589as8sgd1qem@4ax.com...
> > > There is no version number on a PBD, but you can get a file date/time.
> > > The EXE is non-standard, so I don't *think* you can get it through
> > > normal means. Look at the file service in PFC, or dig up the API info
> > > on http://www.puterwerks.com or http://msdn.microsoft.com.
> > >
> > > Good luck,
> > >
> > > Terry [TeamSybase] and Sequel the techno-kitten
> > >
> > > On Tue, 10 Jul 2001 09:42:56 -0400, Gracjan wrote:
> > >
> > > >Thanks but information in environment object is not enough (but still
> can
> > > >be used). The reason I want to be able to get version of libraries is
> to
> > > >ensure that right source code went to production (development group
is
> > not
> > > >responsible for delivery of compiled code).
> > >
> > >
> > > Sequel's Sandbox: http://www.techno-kitten.com
> > > Home of PBL Peeper, a PowerBuilder Developer's Toolkit.
> > > Version 2 now available at the Sandbox
> > >
> > > Charitable donations without money?
> > > CLICK FOR FREE MONEY!!
> > > The Hunger Site: http://www.thehungersite.com
> > > The Rainforest Site: http://www.therainforestsite.com
> > > The Kids AIDS Site: http://www.thekidsaidssite.com
> > > The Child Survival Site: http://www.thechildsurvivalsite.com
> > > The Breast Cancer Site: http://www.thebreastcancersite.com
> > > The Landmine Site: http://www.thelandminesite.com
> >
> >
>
>


0
Simon
7/17/2001 1:35:01 PM
Reply:

Similar Artilces:

date/time or date and time
I am setting up an SQL database and I will need to get differences in dates. For example I have a start date, start time, completion date and completion time and I want to get the difference between the start and completion. Would it be better to have one field with both date and time in it, or better to have a date field and a time field? Even though I have already started setting up the tables with seperate fields for date and time I am now leaning toward one field with date/time in it. (Only because that is the way I had to do it when setting up an Excel spreadsheet for a similar ta...

Daylight Savings Time and File Date/Time Stamps
We use automated scripts for AutoCAD Lisp routines to compare files on a local workstation's hard drive to the same files located on the server. If the server files are "newer", then we copy them to the workstation. Thus... we have a poor man's setup to "update" workstations when AutoCAD Lisp programming changes/updates are made. When Daylight Savings time ended Saturday night, the server's time changed as expected, but the time stamp on our files created between April and October also changed. All the files created in that time period had a o...

Powerbuilder and Time
I am running Powerbuilder 8. My application has the following code, that determines if the time is 2:15. How do you read this? I need to change the time to 2:30. //Don't allow the user to change cash data after 2:15 pm ldt_date = f_getdate() ll_seconds = 51300 - ( (Hour(Time(ldt_date))) * 3600 + Minute(Time(ldt_date)) * 60) change the 51300 value to 52200. The 51300 represents the number of seconds since 12:00am which would correspond to 2:15pm 51300/ 60 seconds in a minute / 60 minutes in an hour = 14.25 hours since 12:00am or (2:15pm) 52200/ 60 seconds in a mi...

java date time and utc date time
hi i have a client written in delphi the backend is written in java (webservice) when fetching a date field from the db, through java to delphi (TXSDateTime class), for some reason the date changes. in the db: 30/07/2009 00:00:00 in delphi: xsdatetime.asdatetime = 29/07/2009 23:00:00 (1 hour before) in delphi xsdatetime.asutcdatetime = 29/07/2009 21:00:00 (3 hours before) i guess it's a matter of timezones but all we want is simply to fetch the same date as it appears in the DB what are we missing? thanks amos szust wrote: > hi > > i have a client written in d...

times out all the time!!!
Name: Optical Excellence Email: specsatopticalexcellencedotca Product: Thunderbird Summary: times out all the time!!! Comments: I can not access either the web email site downloaded mail nor the Thunderbird email downloaded email because I get a time out all the time!! Not a way to run an email site, especially as this is for our business! Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 ...

time-time
Hi There, Delphi 2010 with PostGresSQL 9.3 database. I did try := Time(), the way it worked with Paradox and many more I tried. E2250 no overload version of "TimeToStr" that can be called with this argument. Can somebody guide me here, thanks in advance. {delphi code} dm.tArrivedwaiting.value := timetostr() - dm.tArrivedtime.value ; {code} Fields are StringFields or time with time zone(tried without??) ////// CREATE TABLE "ARRIVED" ( dummy serial NOT NULL, userno smallint, "time" time with time zone, patientno integer, ...

MOVED: time between to given times (was: time between to given times)
On Wed, 11 Feb 2009 15:21:06 -0800, Mike Thomas wrote: Moved to delphi.language.delphi.general https://forums.codegear.com/thread.jspa?threadID=11972 -- Marc Rohloff [TeamB] marc -at- marc rohloff -dot- com ...

ODBC / Profile Creation From Run-Time PowerBuilder
17 September, 1999 ODBC / Profiles can be created at design time in PowerBuilder. But is there any way / functions by which it will create ODBC profile? Program at run-time will check existance of ODBC DSN. If not found it should call the function with path of database & other information to create the DSN. Regards, Dipesh Panchal Dipesh Panchal wrote: > 17 September, 1999 > > ODBC / Profiles can be created at design time in PowerBuilder. But is there > any way / functions by which it will create ODBC profile? > > Program at run-time will ch...

How to get date/time stamp on email header?
We're using GW 6.5.1 on a novell 6.5 server. Clients are running WIN XP fully patched. We are not getting a date/time stamp on the header of emails when they print. 1) Is this by design? 2) If so, (WHY?) is there a way around it (perhaps third party) 3) Which third party? Thank you, Soroush > We're using GW 6.5.1 on a novell 6.5 server. Clients are running WIN XP fully patched. We are not getting a date/time stamp on the header of emails when they print. > > 1) Is this by design? > 2) If so, (WHY?) is there a way around it (perhaps third party) &...

I am having hard time to setup the classified at godaddy keep getting run time error
 Hi I download the classified starter kit and uploaded it to godaddy but I still can't get it to work1-I created 2 database , one for classified and the other for the users.I   I keep getting run time error even talking with godaddy did not help. <!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribu...

it's running on design time but not run time.
Code is like that. This code is running on desing time.. but it is not running on run time. Exception is "ComException:An operations error occured." After "search.findOne(); " exception occured. Probably reason is security.. but What's wrong? Thanks for advice. Code lines: --------------------------------------------------------------------------------------------------------------System.Security.Principal.WindowsImpersonationContext impersonationContext = ((System.Security.Principal.WindowsIdentity)Page.User.Identity).Impersonate(); Session["UserName...

just Time or date portion of a date/time field
Good Day, From a DateTime data column how do I get just a Time portin or just a date portion of data to be displayed. i.e from 11/6/2003 10:03:20 AM I need to display date and time seperately in my data display page. Thanks Regards, In code you could use Dim dt as System.Date Dim day, month, year as integer day = dt.Day month= dt.Month year = dt.Year This also works with DateTime In SQL you could use DATEPART(<datepart>,<datetime>) where <datepart> is the abbreviations mentioned in post 385301 and <datetime> is a...

Getting time between 2 other times
 Im making a app (vb) for work. i need it to basically countdown the hours and minutes until 4:30 pm thats when we get off work so if the current time is 3:00 PM then the app will spit out 1 hour 30 minutes. I have been playing around with the datetime but cant get it to work. I currently have a timer on the app and is giving the current time and UTC time that is realtime. Thanks I hope this converted (from C# to VB) OK:  Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) ' qutting time is six thirty PM Dim QuittingTime As TimeSpan = ...

Removing Time from date time
We would like to form a recordset that would have the datetime column be just the date. We have students visiting our web several times a day and each of these are counted as distinct dates. We would like just the total number of days that they used the web not the total number of times they accessed the web. Thanks Jim You can use date function on datetime column, or use cast. eg: select datetime_col, date(datetime_col), cast(datetime_col as date) from some_table Hope this helps, Goran jmwarren wrote in message <39A66A36.8B355AA6@pilot.msu.edu>... >We would li...

Web resources about - How to get powerbuilder library version, date-time stamp at run-time? - sybase.powerbuilder.general

PowerBuilder - Wikipedia, the free encyclopedia
PowerBuilder is an integrated development environment owned by Sybase , a division of SAP . It has been in use since 1991, peaking around 1998 ...

Sybase PowerBuilder tool readied for Microsoft's .Net
... Win32 or newer style .Net development After several years of work, Sybase is ready to deliver on the final step in its plan to move PowerBuilder ...

Jim O'Neil (@jimoneil) on Twitter
Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

Open Directory - Computers: Programming: Languages
about dmoz - dmoz blog - report abuse/spam - help the entire directory only in Programming/Languages Description Top : Computers : Programming ...

The HP Booth Staff (Goons) Owe Me an Apology
... when you might need to use it. For instance, when I was in the WinRunner world there were plugins for driving terminal emulators and powerbuilder ...

Contact Us - Sybase Inc
Thanks for visiting the 主页 section of Sybase.com. Here you will find information about Contact Us. For more information about Business Intelligence, ...

热门搜索 - 我的异常网
... 我的异常网 » 热门搜索 sdpnet2 移动【A111】其它用户原因鉴权失败,是什么意思啊 http:// 192.168.1.102:22578 本网站服务器位于美国,受美国法律保护 MiniUI js 破解 http://192.168.1.103:8080/ powerbuilder ...

Mobile app security: Always keep the back door locked
The best way to keep mobile apps safe is to secure the services they connect to.

10 Tech Skills That Will Instantly Net You A $100,000+ Salary
... that let's developers run Java applications. Java is highly popular language for writing web apps and custom enterprise apps. No. 8: PowerBuilder ...

Top Ranked Articles
Top Ranked Articles - Free source code and tutorials for Software developers and Architects.; Updated: 23 Feb 2013

Resources last updated: 12/14/2015 9:58:30 PM