Hai laxman, thanks for ur reply... now itz working perfectly in binary mode.... thanks for ur valuble suggestion... now i'm trying to convert a html file into a pdf file or an image file using VC++... R u having any idea about this... thanks...
senthil.