Detect Windows XP SP2
-
IE on Windows XP SP2 shows this yellow bar on the top of the webpage if it has an activex control. I want to show a message on the webpage to the end user to click on the yellow bar and install AX control, but I would like to show the message only if the client OS is Windows XP SP2. Is there a way to detect this from either the http headers, or user agent string, or from the javascript in the web page? I looked at the user agent string, but I dont see anything that tells you it is from Windows XP SP2. thanks!
-
IE on Windows XP SP2 shows this yellow bar on the top of the webpage if it has an activex control. I want to show a message on the webpage to the end user to click on the yellow bar and install AX control, but I would like to show the message only if the client OS is Windows XP SP2. Is there a way to detect this from either the http headers, or user agent string, or from the javascript in the web page? I looked at the user agent string, but I dont see anything that tells you it is from Windows XP SP2. thanks!
I think you must use JScript, and if you do, the yellow bar will show up because you are trying to access sysinfo. I think you should view the message anyway, as most xp users have sp2.:) ---- Dim Sleepy as Boolean = True If Me.Sleepy = True Then Goto Sleep End If ----