Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 AU Browser Agent for IE9
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 29 April 2011 :  15:57:49  Show Profile  Reply with Quote
I have just updated my laptop browser to IE9 and noticed that the Active Users OS/Brower column now shows Windows Vista / Safari even though I have Windows 7 and now IE9
Has anyone supplied the line of code that will display the IE9 and correct Browser

function fUserAgent(ua) and strBrowser

ElseIf instr(ua, "MSIE 8") Then
strBrowser = "Microsoft IE 8"
and

ElseIf instr(ua, "Windows Vista") or instr(ua, "Windows NT 6.0") then
strSystem = "Windows Vista"
Thanking you advance

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 29 April 2011 :  16:51:16  Show Profile  Visit HuwR's Homepage  Reply with Quote
for IE 9 you need to add

ElseIf instr(ua, "MSIE 9") Then
strBrowser = "Microsoft IE 9"
and

then for windows 7

ElseIf instr(ua, "Windows NT 6.1") then
strSystem = "Windows 7"

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 30 April 2011 :  14:32:13  Show Profile  Reply with Quote
Thanks HuwR
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07