Article View: free.it.visual-basic
Article #862Re: Aprire ,leggere, scansionare, e cancellare un filee
From: dinasoft
Date: Mon, 06 Jun 2005 09:31
Date: Mon, 06 Jun 2005 09:31
24 lines
2010 bytes
2010 bytes
"McX" <eNmOaScPpAiM@yahoo.it> ha scritto nel messaggio
news:I3Jle.121211$IN.2061602@twister2.libero.it...
> Ho bisogno di fare il download di un file, aprirlo, leggerlo, tirarne
> fuori delle informazioni e cancellare il file. Ora, per il download ho gi�
> fatto tutto, non conosco pero' le varie operazione sui file come si
> possono fare.. come per esempio ( tra quelle gi� dette ) prendere delle
> informazioni divise da dei punti e virgola. tipo
>
> abba;osls;lsld;slsdl
>
> io ho bisogno di cio' che c'� tra i vari , e metterli in delle label..
> qualcuno puo' darmi una mano ?
Per la gestione dei file ti conviene usare il "Scripting.FileSystemObject"
ma devi aggiungere un riferimento a "Microsoft Scripting RunTime"
(scrrun.dll) nel progetto.
Dim lines() as string
lines = split("test da dividere", "delimitatore") ........ per esempio
split("abba;osls;lsld;slsdl", ";")
(la funzione restituisce un array a base 0 di stringe)
Ciao.
Technical Details
Message-ID:
<WJUoe.1497346$35.55975571@news4.tin.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mailReferences:
<I3Jle.121211$IN.2061602@twister2.libero.it>Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,14cb638d92eb5ca6 X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail From: "dinasoft" <info@dinasoft.it> Newsgroups: free.it.visual-basic References: <I3Jle.121211$IN.2061602@twister2.libero.it> Subject: Re: Aprire ,leggere, scansionare, e cancellare un filee Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response Message-ID: <WJUoe.1497346$35.55975571@news4.tin.it> Date: Mon, 06 Jun 2005 09:31:34 GMT NNTP-Posting-Host: 62.211.32.37 X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it" X-Trace: news4.tin.it 1118050294 62.211.32.37 (Mon, 06 Jun 2005 11:31:34 MET DST) NNTP-Posting-Date: Mon, 06 Jun 2005 11:31:34 MET DST Organization: TIN