determine operating system info through visual basic

J

Jeanne

I've created an MS Access application that may run on
different machines (with different operating systems).

How can I determine what operating system is present
through visual basic code?

Thanks for the help,
Jeanne
 
D

Douglas J. Steele

Take a look at what Randy Birch has at
http://vbnet.mvps.org/code/system/getversionex.htm

Warning: Randy's site is aimed at VB programmers, so often the examples
don't port seamlessly into Access. This particular example falls into that
category: it uses an array of text boxes on the form to display the various
bits of information, and Access doesn't support control arrays. Hopefully
you'll be able to figure out what changes need to be made to use it in
Access.
 
Top