Re: adob.stream - open local file ?
"R.Wieser" <[email protected]> Wed, 28 May 2025 17:23:41 +0200
| Newsgroups | alt.comp.lang.vbscript,alt.windows7.general |
|---|---|
| Organization | A noiseless patient Spider |
| Message-ID | <[email protected]> |
JJ, > The limit is platform and environment dependent. Definitily for loadFromFile. But I assumed (based on nothing more than my gut feeling I'm afraid) that "open"ing a file doesn't load (into memory), but just creates access to it. IOW, at the time of opening the file the size should not matter. Though I see I forgot to mention that I tried to open a near-to 4GB file, but also a less-than 1KB file, and got the same error. > Also keep in mind that, array index in VB/VBA/VBS uses platform > dependent signed integer. That's the hard limit. :-) I noticed that. Its possible that I can open a 4GB file and get its correct size, but can't access the upper 2GB as the file pointer (position property) specifically mentions that it doesn't accept negative values. Regards, Rudy Wieser