I am trying to determine the OS of a particular machine.I have an application which is to run in both Win2000 and WinXP. I have a resolution problem in WinXP and hence I have to rework on some of my screens so that they look alright in WinXP as well. I need to know how do I determine the OS through VB? Please help. All pointers will be highly appreciated.