guys,
can vb move file from local computer to network computer(aka server)?
MoveFolder helps? or what are my other options?
thanks for the help.
guys,
can vb move file from local computer to network computer(aka server)?
MoveFolder helps? or what are my other options?
thanks for the help.
bro,
try to use the FileCopy command under the FileSystemObject class.
does that command be able to copy from local computer (ie c:\test\) to a network folder (\\server\test2\) location??
you can also use an API for sure.
Public Declare Function CopyFileNew Lib "kernel32.dll" Alias "CopyFileNewA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal lpProgressRoutine As Long, lpData As Any, ByRef pbCancel As Long, ByVal dwCopyFlags As Long) As Long
yup....Originally Posted by dhuDz
the easier way is to use filesystemobject. to get a sample code just google it.
Similar Threads |
|