read, write random file w/fixed arrays (3)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello,

I am having trouble writing to a random file in VB with data in an array of
structures with the structure having 3 arrays in it. Each array in the
structure is a <VBFixedArray()> and the record length is consistently 522. I
am a neophyte programmer having taken two classes at a community college and
I am sure there is a simple explanation...

I have teaked my code this way and that-best I have done is written it (at
least it got through the code and into the file-corrupt or otherwise) then in
reading the data, first record is read OK then I get a bad record length
which is what I have gotten just about every time, regardless of what I do.

Thanks for any help you can give me...

--
Message posted via http://www.dotnetmonster.com

.



Relevant Pages

  • Re: write 2D array to binary file
    ... Betty Hickman wrote: ... > I'm having trouble writing a 2D array to a binary file. ...
    (comp.lang.c)
  • Read OK, Write Errors
    ... I am having trouble writing to, but not reading from, an array. ... connection goes from the server, through an Antares P-036 fiber card, ... Since the copy FROM is OK, I am guessing that the HBA, switch and cables ...
    (SunManagers)
  • write 2D array to binary file
    ... I'm having trouble writing a 2D array to a binary file. ... so any pointers would be greatly ...
    (comp.lang.c)
  • IDA expertise gezocht : an array of a user-defined structure
    ... I'm working with IDA, ... What I can't seem to do is to create an array of records. ... first record: The array shows the first record as defined, ... In the code only offsets to the first record are translated into ...
    (comp.lang.asm.x86)
  • Efficiency Question: Large Arrays vs. Indexed Files on Alphas
    ... am writing a program in Basic that will run on each box, ... decide to read some fields of some records into an array and ... maintain records that will eventually be written to an output file ... write the first record to the output file and just update each ...
    (comp.os.vms)