Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 16th, 2004, 1:38 PM   #1
GaDgEt
Newbie
 
Join Date: Dec 2004
Posts: 4
Rep Power: 0 GaDgEt is on a distinguished road
HI ALL! im making a web and sp2 is such a pain in the ***.... so, i need some help from all javaŽers: script 2 detect sp2 on internet explorer 6.0. I think u guys will need some "if"s and "then"s there, i dunno much java...
Thanks!
B)
GaDgEt is offline   Reply With Quote
Old Dec 16th, 2004, 3:54 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
What's SP2 got that you don't want? A popup blocker?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Dec 20th, 2004, 3:01 AM   #3
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 5 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
Not 100% sure this will actually tell you what you need to know, but it seems to work.

if(System.getProperty("sun.os.patch.level").equals("Service Pack 2")){
 System.out.println("Service Pack 2 detected");
} else {
 System.out.println("No Service Pack 2.");
}
ZenMasterJG is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:07 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC