|
-
Nov 23rd, 2000, 09:32 AM
#1
Thread Starter
Junior Member
Well of all the help i got from this boared i have been able to finish a lot of things on the program i was making, but i have this problem that is the main part of the program. It is a file copy problem:
Code:
Private Sub backup_Click()
Dim MyData As String
Dim dData As String
MyData = App.Path & "\Data\Bin"
dData = App.Path & "\Data\Backup"
FileCopy "MyData", "dData"
Then someone said that you don't use quoted but then if you replace the filecopy without quotes it still doesnt work.
FileCopy MyData, dData
Then if you try to put parenthesese like in an example it wants a = sign.
FileCopy(MyData, dData)
But when you put in an equal sign
FileCopy = MyData, dData
It still gives an error, help!!
As you can see i've tried many diffrent ways to try to get the line
FileCopy "MyData", "dData" to work. But it just doesnt seem to, please help! Thanks!
Dreys
"Your worst enemy is your greatest teacher."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|