From: NeilH on
I was wondering if anyone knew the Win32MajorVersion and Win32MinorVersion
for Windows 2008 please?

My software which is written in VB6 works out which version of Windows is
being used and logs it.
I find many customers don't know what they are running OS wise, but expect
me to tell them how to setup their computers!

I know all the other OS version's, I'm just missing Windows 2008.

Neil..





From: expvb on
"NeilH" <neil(a)no-spam.co.uk> wrote in message
news:O%23p6BbHiJHA.4868(a)TK2MSFTNGP05.phx.gbl...
>I was wondering if anyone knew the Win32MajorVersion and Win32MinorVersion
> for Windows 2008 please?
>
> My software which is written in VB6 works out which version of Windows is
> being used and logs it.
> I find many customers don't know what they are running OS wise, but expect
> me to tell them how to setup their computers!
>
> I know all the other OS version's, I'm just missing Windows 2008.

Check MSDN online for GetVersionEx(). OS versions are listed under
OSVERSIONINFOEX Structure.

GetVersionEx Function
http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx


From: NeilH on

"expvb" <nobody(a)cox.net> wrote in message
news:Oi$POmHiJHA.4028(a)TK2MSFTNGP03.phx.gbl...
> "NeilH" <neil(a)no-spam.co.uk> wrote in message
> news:O%23p6BbHiJHA.4868(a)TK2MSFTNGP05.phx.gbl...
> >I was wondering if anyone knew the Win32MajorVersion and
Win32MinorVersion
> > for Windows 2008 please?
> >
> > My software which is written in VB6 works out which version of Windows
is
> > being used and logs it.
> > I find many customers don't know what they are running OS wise, but
expect
> > me to tell them how to setup their computers!
> >
> > I know all the other OS version's, I'm just missing Windows 2008.
>
> Check MSDN online for GetVersionEx(). OS versions are listed under
> OSVERSIONINFOEX Structure.
>
> GetVersionEx Function
> http://msdn.microsoft.com/en-us/library/ms724451(VS.85).aspx
>
>

Thanks for the response. A very useful list for the version codes.

Neil..


From: Dean Earley on
NeilH wrote:
> I was wondering if anyone knew the Win32MajorVersion and Win32MinorVersion
> for Windows 2008 please?
>
> My software which is written in VB6 works out which version of Windows is
> being used and logs it.
> I find many customers don't know what they are running OS wise, but expect
> me to tell them how to setup their computers!
>
> I know all the other OS version's, I'm just missing Windows 2008.

For me, it returns the same as Vista (6), admittedly using GetVersion()

--
Dean Earley (dean.earley(a)icode.co.uk)
i-Catcher Development Team

iCode Systems