Thanks every one.
I have solved the problem, It was my first program out of C++, I mean involving MFC, etc
I really appreciate evey one involved in helping me, esp Amarcode.
Thanks a lot again.
Regards
Sunnypriya