Well, my crystal ball isn;t working today, so you are going to have to perform some kind of problem determination.
Have you single-stepped your code using the debugger?
When you say "not working", what does this mean? Does the program run?
Have you checked the event log?