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!

Function to determine operating system...

Status
Not open for further replies.

buzzboychicago

Programmer
Sep 20, 2004
34
Does anyone know a way to get programatically determine whether a user is on XP, 2000, or 98?

The application needs to be called differently from the two so I need to determine that at runtime.

Thanks!!

 
buzzboychicago,

To retrieve operating system information you will have to use Windows API Calls. For version info I think you want abGetVersionEx in kernel32.

Mordja

 
buzzboychicago

at the following link there is a procedure for determining operating system, this procedure has been written in VB and will therefore need the control array that is in use modifying due to access not supporting control arrays. Though it should only need a small amount of modification past this.


cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top