🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #6961

Re: LOF maximum lengte 2048 ?

#6961
From: Bart Vanwijnsberghe
Date: Mon, 28 Oct 2002 18:54
23 lines
2176 bytes
"Egg"...
> Probeer anders dit... het is iets minder efficient maar ja, als het maar
> werkt
> ps: Wat voor OS en wat voor Office heb je? Die 2048 beperking lijkt me
> echt incorrect. Input$ kan zelfs 1 a 2 MB data lezen....

Win2000, OfficeXP

>     Dim hfile As Integer
>     Dim btBytes() As Byte
>     Dim sTemp As String
>     hfile = FreeFile
>     Open "c:\boot.ini" For Binary As #hfile
>     ReDim btBytes(LOF(hfile) - 1)
>     Get #hfile, , btBytes
>     sTemp = StrConv(btBytes, vbUnicode)
>     Close #hfile

Als ik dit probeer krijg ik de foutmelding: "Fout 52 tijdens uitvoering:
Ongeldige bestandsnaam of ongeldig bestandsnummer"

mvg
Bart
Technical Details
Message-ID: <IJfv9.183280$8o4.29129@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!mtu.ru!image.surnet.ru!surnet.ru!newsfeed.gamma.ru!Gamma.RU!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <bmYt9.177078$8o4.28363@afrodite.telenet-ops.be> <ap9n9s$p5d$1@beast.euro.net> <TLZt9.177174$8o4.28452@afrodite.telenet-ops.be> <apbd0s$1qtl$1@beast.euro.net>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,dc7e0de2aed95b63
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,dc7e0de2aed95b63
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-10-28 11:08:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!mtu.ru!image.surnet.ru!surnet.ru!newsfeed.gamma.ru!Gamma.RU!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
Reply-To: "Bart Vanwijnsberghe" <bartvanwijnsberghe@DELETE!!SPAMyahoo.com>
From: "Bart Vanwijnsberghe" <bartvanwijnsberghe@DELETE!!SPAMyahoo.com>
Newsgroups: be.comp.programming,nl.comp.programmeren
References: <bmYt9.177078$8o4.28363@afrodite.telenet-ops.be> <ap9n9s$p5d$1@beast.euro.net> <TLZt9.177174$8o4.28452@afrodite.telenet-ops.be> <apbd0s$1qtl$1@beast.euro.net>
Subject: Re: LOF maximum lengte 2048 ?
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain;
 charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4920.2300
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300
Message-ID: <IJfv9.183280$8o4.29129@afrodite.telenet-ops.be>
Date: Mon, 28 Oct 2002 18:54:32 GMT
NNTP-Posting-Host: 213.119.23.25
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1035831272 213.119.23.25 (Mon, 28 Oct 2002 19:54:32 MET)
NNTP-Posting-Date: Mon, 28 Oct 2002 19:54:32 MET
Organization: Telenet Internet