473,467 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

detecting windows vista

How do I detect the Windows version.
I'm interested in detecting Windows Vista
to see if any visits my site.
Jun 21 '07 #1
3 3115
On Thu, 21 Jun 2007 19:12:56 +0200, Cenc <Cencwrote:
How do I detect the Windows version.
I'm interested in detecting Windows Vista
to see if any visits my site.
It should be:

if (navigator.userAgent.indexOf("windows NT 6.0") -1) {
}

Any better?
Jun 21 '07 #2
ed
On Jun 21, 2:26 pm, Cenc <Cencwrote:
On Thu, 21 Jun 2007 19:12:56 +0200, Cenc <Cencwrote:
How do I detect the Windows version.
I'm interested in detecting Windows Vista
to see if any visits my site.

It should be:

if (navigator.userAgent.indexOf("windows NT 6.0") -1) {

}

Any better?
Browsers lie all of the time. Don't use this information as the
truth.

Read the first two paragraphs, and then click the link, if you really
want to continue....
http://www.quirksmode.org/js/support.html

Jun 21 '07 #3
On Thu, 21 Jun 2007 20:06:03 -0000, ed <ed*****@gmail.comwrote:
Browsers lie all of the time. Don't use this information as the
truth.

Read the first two paragraphs, and then click the link, if you really
want to continue....
http://www.quirksmode.org/js/support.html
Whatever we do, Javascript or pearl,
with +1000 hits a day: there is no Vista out there :-)
Whatever :-)

Jun 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: typingcat | last post by:
I'd heard and believed that Microsoft .NET Framework 2.0 would be shipped with Windows Vista(Longhorn). Not as an 'additional' component, but, you know, already installed so that developers don't...
9
by: salad | last post by:
Due to an earlier posting I read in this newsgroup regarding Office 2007 beta, I downloaded it. After I DL'd it, I got an invitation from MS to get WinVista. I am now wondering if, since both...
1
by: fredfrog22 | last post by:
The following is an extract from a C# console application that creates a Virtual Directory on IIS 5 or 6. This code works on XP, Windows 2003 Server, Windows 2000. It does not work on Windows...
6
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: -...
3
by: nileshkontamwar | last post by:
will anybody tell me, why drawing is slow in windows vista as compared to windows vista..... i m running an application of moving a rectangle,....... i observed that rectangle drawing is slow in...
4
by: =?Utf-8?B?Q2FybGFKYWRl?= | last post by:
Can anyone help me? I need to use picture it 2000 every day and use to use it on Windows XP and had NO problems at all. If I would open up windows explorer i could be in my folder that has all of...
12
by: Alan M Dunsmuir | last post by:
After having worked with Apache/MySQL/PHP for a year or so under Linux I need, purely for convenience, to set up a parallel platform under Windows. Unfortunately, since I last did this (using...
2
by: =?Utf-8?B?TG9yZW4=?= | last post by:
I have a brand new Dell computer right out of the box. It was purchased with Windows Vista Basic. I have also separately purchased Windows Vista Ultimate and I want to install it on this new...
1
by: Frank van Eijkelenburg | last post by:
Hi, I have to develop an application which must run on .net 2.0 on a Windows XP SP2 and Windows Vista Business OS. Is .net 2.0 supported at Windows Vista? If I see the supported OS at the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.