O.P. Testing OS in Application Created Using Visual Basic 6
Hi
Can any1 out there help me? I'm am programming in Visual Basic 6 Pro. I would like the program im writing to check what version of Windows the user is running, and then depending on the OS, launch a certain part of the program. Will anyone be able to give me an idea (or a coding example, or whatever) on how to do this (if it is possible). It will be really appreciated.
Posts: 4714 Reputation: 42
43 / /
Joined: Jan 2003
RE: Testing OS in Application Created Using Visual Basic 6
Check Mnjul's reply to Visual Basics : Uptime. In that post, Mnjul attached a program in VB. In that program there's a function that determines the exact version of Windows.
O.P. RE: RE: Testing OS in Application Created Using Visual Basic 6
quote:Originally posted by Choli
Check Mnjul's reply to Visual Basics : Uptime. In that post, Mnjul attached a program in VB. In that program there's a function that determines the exact version of Windows.
Thanx i checked out this VB project but can't get my own program to check the version of Windows im running.#
RE: Testing OS in Application Created Using Visual Basic 6
Did you declare the API functions like I did in my project? Well, the part of my codes you need is ExactWinVer in General.bas. And you need to know how to use GetVersionEx. Locate MSDN Library and search for more information