Help on how to get Product Version and File Version on exe file

Hi All,

Is there a way of getting the Product and File version of my
pb application during runtime? Is there a pb function I can
use or do I have to use an API function to do this?

Currently using PB 9.0.1 Build 7171

Regards and Thanks,
Willie
0
Willie
8/6/2004 6:10:28 AM
sybase.powerbuilder.general 62418 articles. 19 followers. Follow

0 Replies
1505 Views

Similar Articles

[PageSpeed] 3
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

Get File Version from EXE File
hi folks how can i get the file version from a exe file. i need that information for a setup download website. best regards Philipp Use System.Diagnostics.FileVersionInfo.GetVersionInfo(path) to get the version info of a file.Hope this helps!Paul yes, thanks a lot :)...

Help getting the EXE's copyright and product/file version
basically I want to get the values set in the project painter for the executable out. CopyRight product version file version How? I've done the following but that gets the PB version ContextInformation ci integer li_fixver, li_majver, li_minver string ls_vername, ls_name iapp_object.GetContextService ("ContextInformation", ci) if isnull(ci.getfixesversion( li_fixver)) then li_fixver = 0 if isnull(ci.getmajorversion( li_majver)) then li_majver = 0 if isnull(ci.getminorversion( li_minver)) then li_minver = 0 if isnull(ci.getversionname( ls_vername)) then ls_v...

How to get Product Version from .exe file properties?
We have been using .ini files to record the current version, but I would like to start using the properties on the .exe file, that can be set in the Project painter when I build. PB Help says this: "Version Specify your own values for the Description, Copyright, Company Name, Product Name, and Product Version fields associated with the executable file and with machine-code DLLs. These values display on the Version tab page of the Properties sheet for the file in Windows Explorer. You cannot change the File Version and Internal Name fields, which are used to identify the...

superreview granted: [Bug 283628] Firefox .exe file reports incorrect version info : [Attachment 175585] Bump internal file versions for browser and mail
Brian Ryner (IBM) <bryner@brianryner.com> has granted Chase Phillips <cmp@mozilla.org>'s request for superreview: Bug 283628: Firefox .exe file reports incorrect version info https://bugzilla.mozilla.org/show_bug.cgi?id=283628 Attachment 175585: Bump internal file versions for browser and mail https://bugzilla.mozilla.org/attachment.cgi?id=175585&action=edit ...

superreview requested: [Bug 283628] Firefox .exe file reports incorrect version info : [Attachment 175585] Bump internal file versions for browser and mail
Chase Phillips <cmp@mozilla.org> has asked Brian Ryner (IBM) <bryner@brianryner.com> for superreview: Bug 283628: Firefox .exe file reports incorrect version info https://bugzilla.mozilla.org/show_bug.cgi?id=283628 Attachment 175585: Bump internal file versions for browser and mail https://bugzilla.mozilla.org/attachment.cgi?id=175585&action=edit ------- Additional Comments from Chase Phillips <cmp@mozilla.org> Still need to find where 1.7.5 / 2004110711 is coming from. Not sure yet. ...

File version of exe-file generated by PB
Is it possible to hardcode the File version (as seen under Properties of the exe-file) of the a generated exe-file? I.e. we do not want the PowerBuilder version number displayed, but our own. We are using version 7.0 of PowerBuilder. Regards, Vegard. No, you need a third party tool. The version field on the application compiler window is wrongly titled. It's actually the exe file's product version, not the file version. Someone mentioned they fixed this in PB9. "vegard" <vegard@timerecorderdata.no> wrote in message news:ebacQV3IDHA.187@forums...

How to get a file version of an exe
If I right click on a file and select properties, I get a window with a version tag that shows me the version of the file. How can I get that with code? I have been looking at the following window api call: BOOL GetFileVersionInfo(LPCSTR lptstrFilename, DWORD dwHandle, DWORD dwLen, LPVOID lpData ); Does anyone have some sample code that does this? I always get confused when trying to match arguments with windows api and I'm not sure how to use this if this is even the right way. Thanks > If I right click on a file and select properties, I get a > ...

How to get the product and file version after deployment
Hi All, Is there a way to get the product version and file version of my application after deployment? If we create a project from powerbuilder, there is an entry there for product and fie version, and I was gonna use it for the about window so that I won't have to change the about window everytime there is a new build. Is this possible? I'm using PB 9.0.1 build 7171 Regards and Thanks Willie There is an NVO at http://www.sybase.com/pb8examples/versioninformationexample you can use. On 8 Aug 2004 18:56:22 -0700, Willie Paredes wrote: >Hi All, > >I...

How i get the version info from any resource file (dll or exe)
Hello: How i get the version info from any resource file (dll or exe). The info is: File Description, Product Version, Company Name, Internal Name, Original Filename, Private Build, Special Build, Legal Copyright, Legal Trademarks, Language, Comments and OS. Thanks Diego Alvarez In article <u4Uo2mfk$GA.285@forums.sybase.com>, dlalvarez@altavista.net says... > Hello: > > How i get the version info from any resource file (dll or exe). The info is: > File Description, Product Version, Company Name, Internal Name, Original > Filename, Private Build,...

superreview granted: [Bug 286825] Firefox.exe is compiled with incorrect Product Version information : [Attachment 190279] Override product version with app version number
Brian Ryner <bryner@brianryner.com> has granted Chase Phillips <chase@mozilla.org>'s request for superreview: Bug 286825: Firefox.exe is compiled with incorrect Product Version information https://bugzilla.mozilla.org/show_bug.cgi?id=286825 Attachment 190279: Override product version with app version number https://bugzilla.mozilla.org/attachment.cgi?id=190279&action=edit ...

superreview requested: [Bug 286825] Firefox.exe is compiled with incorrect Product Version information : [Attachment 190279] Override product version with app version number
Chase Phillips <chase@mozilla.org> has asked Brian Ryner <bryner@brianryner.com> for superreview: Bug 286825: Firefox.exe is compiled with incorrect Product Version information https://bugzilla.mozilla.org/show_bug.cgi?id=286825 Attachment 190279: Override product version with app version number https://bugzilla.mozilla.org/attachment.cgi?id=190279&action=edit ------- Additional Comments from Chase Phillips <chase@mozilla.org> While I'm here, bumping Firefox trunk version from 1.0 to 1.0+. ...

New Firefox versions should result in larger file versions that previous firefox versions
Name: Jeff Email: jturner_at_citadel.com Product: Firefox Summary: New Firefox versions should result in larger file versions that previous firefox versions Comments: I work for a company whose software does enterprise vulnerability management. I work with Windows and Windows applications. One of the things we do is install patches to products where needed. We rely on file versions because they are the best bet to know which version of an application is on the system (files are generally where the vulnerabilities reside). If a system�s registry gets �restored� or rolled ...

Getting file version
I want to get the version of a file Here's what I have in the Global External Functions Function long GetFileVersionInfoSize (string lptstrFilename, long lpdwHandle) Library "version.dll" Alias for "GetFileVersionInfoSizeA" and here's what I have in a button in an empty window long ll_dummy = 0, ll_size = 0 string ls_file = "C:\MyFile.EXE" ll_size = GetFileVersionInfoSize (ls_file, ll_dummy) messagebox(string(ll_size), "") ll_size always = 0 no matter what. When I try the same code in Microsoft Access, it works perfect...

EXE File Version
Name: Rick Bennett Email: rick-bennettatuiowadotedu Product: Firefox Summary: EXE File Version Comments: Just an enhancement request... Is it possible to change the file version on the installed FIREFOX.EXE file so that it reflects the version of the software? When I check out version 2.0.0.1 the file version is 1.8.20061.20418 which gets a little confusing in our inventorying process (which simply locates the EXE and pulls the file version information from it). Browser Details: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; ...

Web resources about - Help on how to get Product Version and File Version on exe file - sybase.powerbuilder.general

Surplus product - Wikipedia, the free encyclopedia
and archaeology as well as sociology and other social sciences. For most of human history, the meaning of the surplus product was fairly clear. ...

iPad Target’s best-selling product on Black Friday, and the deals aren’t done yet: 15% off everything ...
... popular in stores.” The deals aren’t done yet, either: 9to5Toys notes that Target is today offering a 15% discount on almost every product ...

Apple launches a Product Red leather case for iPhone 6s and 6s Plus
Apple, according to recent reports, has brought a brand new Product Red leather case for its iPhone 6s and 6s Plus to retail stores around the ...

QUIZ: Do you know where these 12 tech products got their names?
Companies like Apple, Facebook, Amazon, and Google rule the world. But do you know where they, and their most famous products, got their names? ...

Maine's hot new product? Hint: It's not lobster
Soaring demand for seaweed as food and fertilizer puts Maine's harvesters in a sweet spot

Metsä Wood Reimagines Empire State Building With Engineered Wood Products
Originally published on Green Building Elements. Metsä Wood of Finland makes quality wood products from local forest sources. It is working with ...

Apple adds (PRODUCT) RED leather cases for iPhone 6s and 6s Plus
Apple’s official iPhone 6s leather cases are getting a splash of red just in time for the holidays. The company is now selling (PRODUCT) RED ...

Microsoft, Autodesk Team Up for HoloLens Product Design
By combining Microsoft's augmented-reality headset with Autodesk's software, the companies hope to speed up product design and prototyping.

This Entrepreneur Is Helping Artisan Food Makers Get Their Products In Your Kitchen
... the home cook. In September Hatchery added a marketplace, fueled by Friedman's passion of helping other small business owners get their products ...

Lobster, Schlobster: Seaweed Is Maine's Hot New Product
Move over, lobster? Maine, nation's top seaweed producer, finds a popular new product

Resources last updated: 12/4/2015 5:40:21 AM