Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.ms-access > #14116
| From | Ron Weiner <rw@domain.com> |
|---|---|
| Newsgroups | comp.databases.ms-access |
| Subject | Re: Access 2016 Get Windows Build |
| Date | 2020-06-16 10:21 -0400 |
| Organization | WorksRite |
| Message-ID | <rcakgp$61t$1@dont-email.me> (permalink) |
| References | <6r2cefpo4l8hoh66a4cjtum3pj7fvrbc2a@4ax.com> |
Jürgen Meyer brought next idea :
> The following shows me the build number
>
> Function Test()
> strComputer = "."
> Set objWMIService = GetObject("winmgmts:" &
> "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
> Set colOperatingSystems = objWMIService.ExecQuery("Select * from
> Win32_OperatingSystem")
> For Each objOperatingSystem In colOperatingSystems
> Debug.Print objOperatingSystem.Caption & " " &
> objOperatingSystem.Version & " " & objOperatingSystem.Build Number
> Next
> End Function
>
> It shows me:
> 19041
> But the info is not complete
> I want to get the complete build number
> In this case:
> 19041.329
>
> Any idea?
>
> Rgds
> Juergen
I guess you could always shell to a command prompt and run a VER
command. I'v not tryed thisd from Access but from the command prompt I
get:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
C:\Users\rweiner>ver
Microsoft Windows [Version 10.0.18362.900]
C:\Users\rweiner>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Seels to me that you could pipe the output to a text file, open the
text file, and parse the contents and "Bob's uour uncle".
Ron W
--
This email has been checked for viruses by AVG.
https://www.avg.com
Back to comp.databases.ms-access | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Access 2016 Get Windows Build Jürgen Meyer <juergen.ul.meyer@gmx.de> - 2020-06-14 13:37 +0200
Re: Access 2016 Get Windows Build Ulrich Möller <knobbi38@arcor.de> - 2020-06-14 21:51 +0200
Re: Access 2016 Get Windows Build Jürgen Meyer <juergen.ul.meyer@gmx.de> - 2020-06-14 22:16 +0200
Re: Access 2016 Get Windows Build Ulrich Möller <knobbi38@arcor.de> - 2020-06-15 21:51 +0200
Re: Access 2016 Get Windows Build Ron Paii <ron81pai@gmail.com> - 2020-06-15 06:00 -0700
Re: Access 2016 Get Windows Build Ulrich Möller <knobbi38@arcor.de> - 2020-06-15 21:56 +0200
Re: Access 2016 Get Windows Build Ron Paii <ron81pai@gmail.com> - 2020-06-16 04:57 -0700
Re: Access 2016 Get Windows Build Jürgen Meyer <juergen.ul.meyer@gmx.de> - 2020-06-17 11:39 +0200
Re: Access 2016 Get Windows Build Ron Weiner <rw@domain.com> - 2020-06-16 10:21 -0400
Re: Access 2016 Get Windows Build Ron Weiner <rw@domain.com> - 2020-06-19 13:29 -0400
Re: Access 2016 Get Windows Build Ron Paii <ron81pai@gmail.com> - 2020-06-19 10:42 -0700
Re: Access 2016 Get Windows Build Jürgen Meyer <juergen.ul.meyer@gmx.de> - 2020-06-20 16:53 +0200
csiph-web