VB Code:
Option Explicit Dim FSO As New FileSystemObject Private Sub Form_Load() Copy = FSO.CopyFolder(App.Path + "\" + "files" + "\", "C:\files", True)
I am using the code above to copy the folder "files" from the app path to c:\, when i try to run the app a compile error occurs, a msgbox comes up saying
"compile error expected function or variable"
then .CopyFolder is highlighted.


Reply With Quote
