🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #2691

Re: Pricipiante_Copia File

#2691
From: Gino
Date: Thu, 20 Feb 2003 13:23
21 lines
1552 bytes
>Salva a tutti , vorrei sapere come fare con VB6 a copiare dei file
>Io ho un file in c:
>e si chiama Prova.txt
>e lo vorrei copiare in c:\destinazione
>io ho fatto cosi

>Private Sub Form_Load()
>FileCopy "C:\Prova.txt", "C:\Destinazione\"
>End Sub


>per� mi da un errore di percorse come mai????

Private Sub Form_Load()
FileCopy "C:\Prova.txt", "C:\Destinazione\Prova.txt"
End Sub

Se si cerca di utilizzare l'istruzione FileCopy per un file aperto, verr�
generato un errore.
--
gino
Technical Details
Message-ID: <7F45a.137930$YG2.3995937@twister1.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
References: <7Ga4a.128682$ZE.3649357@twister2.libero.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,aff69a719dfd4c4a
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-02-20 05:29:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail
From: "Gino" <ugino@libero.it>
Newsgroups: free.it.visual-basic
References: <7Ga4a.128682$ZE.3649357@twister2.libero.it>
Subject: Re: Pricipiante_Copia File
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <7F45a.137930$YG2.3995937@twister1.libero.it>
Date: Thu, 20 Feb 2003 13:23:15 GMT
NNTP-Posting-Host: 151.25.84.31
X-Complaints-To: abuse@libero.it
X-Trace: twister1.libero.it 1045747395 151.25.84.31 (Thu, 20 Feb 2003 14:23:15 MET)
NNTP-Posting-Date: Thu, 20 Feb 2003 14:23:15 MET
Organization: [Infostrada]