In my code On one machine there is a .bmp file I created one object of CFile & opened that file in binary mode then one byte pointer is pointing to start of file, for .txt file this pointer holds the pointer to the string, but in my case it is holding header so i can not send that data on network If CArchive can be used plz guide me.