alright..now we know that its not the switch problem..
was the door closed when u tried to operate the window coz auto wont work when the door is openned.
before you start coding ..try this
1. close all doors.
2.turn the ignition key ON (dont need to start the engine)
3. press and hold down button for 5 to 10 second after the window reach the bottom
4. then press and hold the up button for 5 to 10 seconds after the window reach the top..
this to reinitialize the window