Article View: free.it.visual-basic
Article #3319R: Come apro un file di testo?
From: Parrano
Date: Mon, 29 Jul 2002 08:36
Date: Mon, 29 Jul 2002 08:36
36 lines
1742 bytes
1742 bytes
Per scrivere un file di testo puoi usare il comando open ad es: Open "file.Txt" for output as #1 print #1,"riga1" print #1,"riga2" close #1 mentre per aggiornare successivamente il file... open "file.txt" for append as #1 print #1, "riga3" close #1 e per caricare il file in una listbox... dim Str as string open "file.txt" for input as #1 do input #1,str lstbox.additem str loop while not eof(1) close #1 Pino <pino.rabbit@hotmail.com> wrote in message 21yX8.71521$vm5.2613336@news2.tin.it... > Ho incominciato adesso ad usare il VB > e volevo sapere se � possibile caricare un file di testo .txt all'interno > di una text box > grazie ciao > pino R > >
Technical Details
Message-ID:
<aiet7l$7vp$1@lacerta.tiscalinet.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news.mailgate.org!draco.tiscalinet.it!not-for-mailReferences:
<21yX8.71521$vm5.2613336@news2.tin.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,d677ec71a2c1bf74 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2002-08-02 14:25:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!news.mailgate.org!draco.tiscalinet.it!not-for-mail From: "Parrano" <parrano@tiscalinet.it> Newsgroups: free.it.visual-basic Subject: R: Come apro un file di testo? Date: Mon, 29 Jul 2002 10:36:56 +0200 Organization: Tiscali Spa Lines: 38 Message-ID: <aiet7l$7vp$1@lacerta.tiscalinet.it> References: <21yX8.71521$vm5.2613336@news2.tin.it> NNTP-Posting-Host: ppp-62-11-4-145.dialup.tiscali.it X-Trace: lacerta.tiscalinet.it 1028323381 8185 62.11.4.145 (2 Aug 2002 21:23:01 GMT) X-Complaints-To: newsadmin@it.tiscali.com NNTP-Posting-Date: 2 Aug 2002 21:23:01 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200