判断客户端操作系统
Function GetOs(content,systemOrBrowser)
Dim temp
temp = Split(content,";")
Select Case systemOrBrowser
Case 0
If InStr(Content,"Windows NT 6.0") Then
GetOs = "Windows Vista"
ElseIf InStr(Content,"Windows NT 5.2") Then
GetOs = "Windows 2003"
ElseIf InStr(Content,"Windows NT 5.1") Then
GetOs = "Windows XP"
ElseIf InStr(Content,"Windows NT 5.0") Then
GetOs = "Windows 2000"
ElseIf InStr(Content,"Windows NT") Then
GetOs = "Windows NT"
ElseIf InStr(Content,"Windows 9") Then
GetOs = "Windows 9x"
ElseIf InStr(Content,"unix") Then
GetOs = "Unix"
ElseIf InStr(Content,"linux") Then
GetOs = "Linux"
ElseIf InStr(Content,"SunOS") Then
Get
新闻热点
疑难解答