Groups | Search | Server Info | Login | Register


Groups > alt.comp.lang.vbscript > #9

Re: adob.stream - open local file ?

From "R.Wieser" <address@is.invalid>
Newsgroups alt.comp.lang.vbscript, alt.windows7.general
Subject Re: adob.stream - open local file ?
Date 2025-05-28 17:23 +0200
Organization A noiseless patient Spider
Message-ID <10179qa$3adhu$1@dont-email.me> (permalink)
References <1016naa$36o51$1@dont-email.me> <1k508t5nf6t5w.1mg621mz154jy$.dlg@40tude.net>

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to alt.comp.lang.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

adob.stream - open local file ? "R.Wieser" <address@is.invalid> - 2025-05-28 12:07 +0200
  Re: adob.stream - open local file ? JJ <jj4public@outlook.com> - 2025-05-28 21:45 +0700
    Re: adob.stream - open local file ? "R.Wieser" <address@is.invalid> - 2025-05-28 17:23 +0200
  Re: adob.stream - open local file ? JJ <jj4public@outlook.com> - 2025-05-28 21:49 +0700
  Re: adob.stream - open local file ? Paul <nospam@needed.invalid> - 2025-05-28 11:21 -0400
    Re: adob.stream - open local file ? "R.Wieser" <address@is.invalid> - 2025-05-28 17:34 +0200
      Re: adob.stream - open local file ? Paul <nospam@needed.invalid> - 2025-05-28 14:21 -0400
        Re: adob.stream - open local file ? "R.Wieser" <address@is.invalid> - 2025-05-28 21:15 +0200
      Re: adob.stream - open local file ? Mark Lloyd <not.email@all.invalid> - 2025-05-28 20:53 +0000
        Re: adob.stream - open local file ? "R.Wieser" <address@is.invalid> - 2025-05-29 08:18 +0200
          Re: adob.stream - open local file ? Mark Lloyd <not.email@all.invalid> - 2025-05-29 17:48 +0000

csiph-web