Προς το περιεχόμενο

vb5 / vb6


Dvs

Προτεινόμενες αναρτήσεις

Δημοσ.

10 Set fso = CreateObject("Scripting.FileSystemObject")<BR>20 Dim Source as String, destination As String<BR>30 Source = Database<BR>40 destination = "BackUp.bck"<BR>50 fso.copyfile Source, destination<P>o parapano kodikas eno douleuei kanonika se vb 5 den doueleuei se vb6!<BR>(mou vgazei error stin grammi 10)<BR>xerei kaneis ti allages prepei na kano?

Δημοσ.

sto help file vrika auto alla den douleuei!<BR>-=-=-=-<BR>Duplicates any type of file.<P>Syntax<P>COPY FILE FileName1 TO FileName2<P>Remarks<P>COPY FILE creates a duplicate of the file whose name is specified in FileName1. You can use COPY FILE to copy any type of file. The file to be copied cannot be open. You must include the extensions for both the source file name FileName1 and destination file name FileName2.<P>FileName1 and FileName2 can contain wildcard characters such as * and ?. For example, to create backup copies of all program files with the extension .prg in the current directory, issue COPY FILE *.PRG TO *.BAK.<P>If you use COPY FILE to create a backup of a table that has a memo field, a structural index or both, be sure to copy the .fpt and .cdx files as well.<P>-=-=-=-<BR>kamia alli idea?

Δημοσ.

<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><HR>Originally posted by Dvs:<BR><STRONG>sto help file vrika auto alla den douleuei!<BR>-=-=-=-<BR>Duplicates any type of file.<P>Syntax<P>COPY FILE FileName1 TO FileName2<P>Remarks<P>COPY FILE creates a duplicate of the file whose name is specified in FileName1. You can use COPY FILE to copy any type of file. The file to be copied cannot be open. You must include the extensions for both the source file name FileName1 and destination file name FileName2.<P>FileName1 and FileName2 can contain wildcard characters such as * and ?. For example, to create backup copies of all program files with the extension .prg in the current directory, issue COPY FILE *.PRG TO *.BAK.<P>If you use COPY FILE to create a backup of a table that has a memo field, a structural index or both, be sure to copy the .fpt and .cdx files as well.<P>-=-=-=-<BR>kamia alli idea?</STRONG><HR></BLOCKQUOTE><P>telika to vrika: <P>FileSystem.FileCopy Source, Destination

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...