• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

Visual Basic alternativa FileCopy

Status
Not open for further replies.

top10

Moderator
User
Joined
Mar 18, 2015
Messages
487
Reputation
0
Reaction score
5,047
Points
243
Credits
0
‎10 Years of Service‎
70%
[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]

 
Re: alternativa FileCopy

thanks alot for this share

 
Status
Not open for further replies.
Back
Top