Hi ,
I need some help here with reading binary files. I am using VB .NET 2005 and I need to read a binary file , convert it somehow and replace a text value that is stored inside.
For eg. This file has a string value XXXX-XXX/XXX. If I am viewing normally the file and not the binary I am seeing that format. But when it comes to the binary I cannot view it. So. All I need is read the binary , convert it somehow , search inside the binary for the string XXXX-XXX/XXX , replace the string with the value I want and make it binary again.
Does anyone have a working example written in VB .NET which do these things ?
Any sample code ?
I would be mostly appreciated with any help you can give me.
Thank you
zkar
I need some help here with reading binary files. I am using VB .NET 2005 and I need to read a binary file , convert it somehow and replace a text value that is stored inside.
For eg. This file has a string value XXXX-XXX/XXX. If I am viewing normally the file and not the binary I am seeing that format. But when it comes to the binary I cannot view it. So. All I need is read the binary , convert it somehow , search inside the binary for the string XXXX-XXX/XXX , replace the string with the value I want and make it binary again.
Does anyone have a working example written in VB .NET which do these things ?
Any sample code ?
I would be mostly appreciated with any help you can give me.
Thank you
zkar