Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code to determine Operating System

Status
Not open for further replies.

33216CLC

Programmer
Aug 17, 2000
173
BS
Hi,

Is there a way I can determine whether a user is using a Windows or Winnt/Windows2000 operating system?

Thanks for any help.
 
Hi,

Use a SysInfo control

MyVar = SysInfo1.OSPlatform
' where 0 = unknown, 1 = win95/98, 2 = nt

Jon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top