1. Daniel Vivier
  2. PowerBuilder
  3. Saturday, 30 November 2019 15:30 PM UTC

This is in PB2019. The Help doesn't say, and I don't have a copy of Windows 8 to try it on.

Thanks.

Accepted Answer
Arthur Hefti Accepted Answer Pending Moderation
  1. Saturday, 30 November 2019 16:24 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi

I'ts either 6.2 (8.0) or 6.3 (8.1). See https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions and png attached.

Regards
Arthur 

 

Attachments (1)
Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Saturday, 30 November 2019 19:32 PM UTC
  2. PowerBuilder
  3. # 1

Use my osversion object to display the current Windows version:

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

 

Comment
There are no comments made yet.
Daniel Vivier Accepted Answer Pending Moderation
  1. Saturday, 30 November 2019 20:38 PM UTC
  2. PowerBuilder
  3. # 2

That's nice, Roland, but the O/S version info in PB is quite sufficient as long as I know what answers it will give - Arthur Hefti's answer (and link) are sufficient for.

Comment
  1. Roland Smith
  2. Saturday, 30 November 2019 23:32 PM UTC
Starting with WIndows 8, the operating system hides the operating system version. The Environment object won't recognize the difference between WIn8 and Win10 unless Appeon has changed the code to populate the values in a different way.

My object gets the version info from kernel32.dll to determine the version.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 2 December 2019 15:39 PM UTC
  2. PowerBuilder
  3. # 3

Hi Dan;

   Here is the proper documentation for the O/S Major & Minor values as per the PB run-time ...

Operating system OSMajorRevision OSMinorRevision
Windows 10 10 0
Windows Server 2016 10 0
Windows 8.1 6 3
Windows Server 2012 R2 6 3
Windows 8 6 2
Windows Server 2012 6 2
Windows 7 6 1
Windows Server 2008 R2 6 1
Windows Server 2008 6 0
Windows Vista 6 0
Windows Server 2003 R2 5 2
Windows Server 2003 5 2
Windows XP 64-Bit Edition 5 2
Windows XP 5 1
Windows 2000 5 0

HTH

Regards ... Chris

Comment
  1. Daniel Vivier
  2. Monday, 2 December 2019 15:43 PM UTC
Thanks, Chris. I hope the next release of PB will include that in the docs!
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 2 December 2019 18:51 PM UTC
Hi Dan;

Yes it should for PB2019 R2 as I have sent this update request over to the documentation team last week. I am not sure about the next PB2017R3 MR as it has already started its QA process for general release.

Regards ... Chris
  1. Helpful
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.