Re: edi record


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on July 20, 2007 at 14:42:01:

In Reply to: Re: edi record posted by Marc on July 20, 2007 at 14:02:13:

There are at least 3 ways to read this file, grasshopper.

1. Use Comet32. You can read the whole file into one string and process from there.

2. make it a text file. Read in 8000 byte chunks. The last chunk will be shorter. I am not really sure if this will work. It depends on if the file server positions the buffer just past the 8000 byte mark or not.

3. Use dos calls. Read as much as you want. The read will return the number of bytes read. The file is treated as a stream of bytes.

I personally like choice #1 but you have to put up with an extra window popping up on the screen, etc.

I would be happy to code up any of these choices as examples. Send me a test file and data map.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]