I've attached a copy of the file I'm trying to import. I've renamed it to a .TXT so that EE will allow me to attach it, but it's not a text file.
The attached code was used to create this file, and I'd like to come up with similar code that will allow me to import the file back into the program.
I'm just not a File I/O guy. I need some help, preferably a solution that uses FileOpen() and FileRead() to get it done.
The first 4 bytes of this file are 06 00 00 00, and they represent an integer, 6. The second 4 bytes are 7C 02 00 00, which represent the number 636. The remainder of the file contains 3,816 values (6x636).
The first "value" is a 1, and it's stored as a 4-byte length (01 00 00 00) and the ascii value of the digit "1", (31)
The second value is another 5 bytes .. 01 00 00 00 31 .. this is another "1"
The third value is also 5 bytes.. 01 00 00 00 32 .. this represents a "2"
..hopefully this is clear. I'm sure you can figure out the data layout by looking at the ::ExportPicks() method.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
-Mike Kapnisakis, Warner Bros
With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros. You'll also be able to connect with highly specified Experts to get personalized solutions to your troubleshooting & research questions. It’s like crowd-sourced consulting.
We can't always guarantee that the perfect solution to your specific problem will be waiting for you. If you ask your own question - our Certified Experts will team up with you to help you get the answers you need.
Our certified Experts are CTOs, CISOs, and Technical Architects who answer questions, write articles, and produce videos on Experts Exchange. 99% of them have full time tech jobs - they volunteer their time to help other people in the technology industry learn and succeed.
We can't guarantee quick solutions - Experts Exchange isn't a help desk. We're a community of IT professionals committed to sharing knowledge. Our experts volunteer their time to help other people in the technology industry learn and succeed.