Hey guys,
I have a random data file (although I know that I need it broken into chunks of 114 characters), and I need to parse it and load it into a database.
We have an old application that does this (written in VB6.0), but we want to add functionality and am re-writing this in .NET. The legacy app is using the FileGet() method and a structure to load the values we need from this datafile, but I'm having problems duplicating this within .NET. It seems that when I extract the text from my code, and dump it out to a text file record-by-record, there are these weird block characters that throw off the index count for when I'm doing my substring calls.
I know that you can still use the VB6.0 library within .NET, but I'd love to find a way within vb.net.
Any thoughts?
Thanks,
D'Arcy
I have a random data file (although I know that I need it broken into chunks of 114 characters), and I need to parse it and load it into a database.
We have an old application that does this (written in VB6.0), but we want to add functionality and am re-writing this in .NET. The legacy app is using the FileGet() method and a structure to load the values we need from this datafile, but I'm having problems duplicating this within .NET. It seems that when I extract the text from my code, and dump it out to a text file record-by-record, there are these weird block characters that throw off the index count for when I'm doing my substring calls.
I know that you can still use the VB6.0 library within .NET, but I'd love to find a way within vb.net.
Any thoughts?
Thanks,
D'Arcy