FZ_FormBase.CopyFile
Copy file
Public Shared Function CopyFile( _
ByVal srcFileName As String, _
ByVal destFileName As String _
) As Integer
Parameters
srcFileName
|
File name of the copy source
|
Input
|
destFileName
|
File name of the copy destination
|
Input
|
Return Value
Returns 0 when the file is successfully copied.
Otherwise returns a non-zero value.
Description
Copy file.
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
' Copy file
CopyFile("abcd0.bmp", "abcd1.bmp")
End Sub