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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Operating System Test 3

Status
Not open for further replies.

sacsac

Programmer
Dec 10, 2000
177
GB
Does anyone have sample code which I can use in VB6 to find out the Operating System (e.g. Win 95/Win98/NT/XP etc)?
 
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