Quote Originally Posted by salman afzal View Post
Hi I had the code indented, but when it posts, it goes back to align left?
You have to use Code tags. See Announcement: Before you post....

About debugging:
http://msdn.microsoft.com/en-us/libr...(v=vs.90).aspx