we have visual basic 6 application writes out config file. looking @ application's code, it's using "binary access write" function write out configuration object. i'm trying figure out how read these type of files in c#. need build object matching necessary fields, doesn't appear standard object serialization i'm familiar with. code doesn't make clear how application reading config file , assigning values config object's fields.
i've tried using binaryreader class in c#. config object contains strings reading file readstring() not returning formatted strings (i can see recognizable text fields combined or truncated, along garbage binary characters).
i'm assuming c# binaryreader isn't appropriate decoding these type of vb6 binary files. suggestions on how read these?
fortunately microsoft seems provide methods enable read legacy vb6 files. might want check out these methods:
Comments
Post a Comment