I'm trying to detect the windows OS.
But the function
MessageRequester("OS Version",OSVersionText())
reports my Windows 7 as windows Vista.
Any ideas?
Which registrykey contains the ostype?
Detect Windows OS
Detect Windows OS
Currently coding the unbelievable WFS program...
You'll know it, when it gets released...
You'll know it, when it gets released...
Re: Detect Windows OS
Where do you get the Function "OSVersionText()" from?Waussie wrote:MessageRequester("OS Version",OSVersionText())
reports my Windows 7 as windows Vista.
From Droopy's Lib?
So it's a bug in Droopy's Lib - not in PB.
This native PB-check should work fine on your Machine:
Code: Select all
Select OSVersion()
Case #PB_OS_Windows_Vista
MessageRequester("Info", "Windows Vista")
Case #PB_OS_Windows_7
MessageRequester("Info", "Windows 7")
EndSelect[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)

