Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked alternativa FileCopy


top10

Recommended Posts

[HIDE-THANKS][LENGUAJE=VB]Public Sub NewFileCopy(Src As String, Dest As String)

 

Dim Fso, FFile

Dim bCode() As Byte

Dim Tst As Long

Tst = FileLen(Src)

FFile = FreeFile

 

Open Src For Binary Access Read As #FFile

ReDim bCode(Tst - 1)

Get #FFile, , bCode()

Close #FFile

 

Set Fso = CreateObject(NewStrRev("tcejbOmetsySeliF.gnitpircS"))

If Fso.FileExists(Dest) Then Kill Dest

 

Open Dest For Binary Access Write As #FFile

Put #FFile, , bCode()

Close #FFile

 

 

End Sub

 

[/LENGUAJE][/HIDE-THANKS]

Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.