SysInfo1.OSVersion gives 5.01 for XP Pro and 5.0 for W2K pro
You can also get build no Let me know if this helps
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'There are 10 kinds of people in the world: those who understand binary, and those who don't.'