Hi all, i have problem with vb6 that copy all files from a folder to other, such as
Source is "D:\Test" and files are a.txt, b.doc. c.dgw: Distination folder is "D:\Test2" , could u pls give some idea abt this, thx advance, shaif
Hi!
This can be achieved in 2 Ways
1. You can use Directory List Box
Now you can set the path of the Directory List Box to D:\Test
Then use FileCopy Command in Loop to Copy all the files from source directory to the destination directory.
2. You can use the File System Object.
For this you have to include the reference
Microsoft Scripting Runtime . By Using this you can copy Full Source Folder contents to the destination.
All The Best
With Regards
Vijay. R