[求助]问一个关于API函数的CopyFile的问题(已解决)
Private Declare Function CopyFile Lib "kernel32" Alias "CopyFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
Private Sub Command1_Click()
a = "E:\1.ppt"
b = "\\192.168.0.1\1.ppt"
CopyFile(a, b, False)
End Sub
提示说语法错误,为什么呢?
[此贴子已经被作者于2006-11-24 10:55:08编辑过]