D
Don Miller
I can't seem to find at MS how to detect the 2002 OS vs. 2003 OS for web
applications using ASP. This is the only page I could find
(http://msdn.microsoft.com/library/en-us/guide_ppc/htm/designing_web_sites_f
or_internet_explorer_for_pocket_pc_cheo.asp) and it only tells how to detect
2000 vs. 2002 (and much of the graphic is cutoff on the right).
It has the code below but it doesn't tell me how to distinguish between 2002
and 2003 in ASP:
if (InStr(Request.ServerVariables("HTTP_USER_AGENT"), "PPC")) then
' add Pocket PC 2003 specific code.
else
' add Pocket PC 2002 specific code.
else
' add Pocket PC 2000 specific code.
end if
And then it has client-side code like this:
// Check for Pocket PC
var isPPC = strNav.indexOf("240x320");
if(isPPC > -1) {
var is2002 = strNav.indexOf("PPC");
if(is2003 > -1) {
// add Pocket PC 2003 specific code.
}
else
if(is2002 > -1) {
// add Pocket PC 2002 specific code.
}
but I don't see where the "is2003" variable comes from????
Also, the BROWCAP.INI file that is supposed to contain the new browser info
was a 2000 version. Is there an updated file for ASP developers somewhere?
Thanks for any help.
applications using ASP. This is the only page I could find
(http://msdn.microsoft.com/library/en-us/guide_ppc/htm/designing_web_sites_f
or_internet_explorer_for_pocket_pc_cheo.asp) and it only tells how to detect
2000 vs. 2002 (and much of the graphic is cutoff on the right).
It has the code below but it doesn't tell me how to distinguish between 2002
and 2003 in ASP:
if (InStr(Request.ServerVariables("HTTP_USER_AGENT"), "PPC")) then
' add Pocket PC 2003 specific code.
else
' add Pocket PC 2002 specific code.
else
' add Pocket PC 2000 specific code.
end if
And then it has client-side code like this:
// Check for Pocket PC
var isPPC = strNav.indexOf("240x320");
if(isPPC > -1) {
var is2002 = strNav.indexOf("PPC");
if(is2003 > -1) {
// add Pocket PC 2003 specific code.
}
else
if(is2002 > -1) {
// add Pocket PC 2002 specific code.
}
but I don't see where the "is2003" variable comes from????
Also, the BROWCAP.INI file that is supposed to contain the new browser info
was a 2000 version. Is there an updated file for ASP developers somewhere?
Thanks for any help.