I have created a programme in VB6. It was running properly in Windows XP but now I have got a Windows 7 machine. At first due to the date format of windows 7 it was giving runtime error after changing the date format of machine it was running properly but as soon as I enter the date in date box it is automatically changes to mm/dd/yyyy format though my machine has dd/mm/yyyy format and in my coding also I have mentioned the date as dd/mm/yyyy format. Please help it is creating a big problem. My programme is giving wrong output.