Re: [vb6] File Copy error
Welcome to the forums. :wave:
I added [code]your code goes here[/code] tags to your post as it makes reading posted code a lot easier.
How about
Code:
SourceFile = App.Path & "\" & Text1.Text
DestinationFile = App.Path & "\" & Text2.Text
Re: [vb6] File Copy error
Quote:
Originally Posted by Hack
Welcome to the forums. :wave:
I added
[code]your code goes here
[/code] tags to your post as it makes reading posted code a lot easier.
How about
Code:
SourceFile = App.Path & "\" & Text1.Text
DestinationFile = App.Path & "\" & Text2.Text
I tried it and it's still the same error..:(
I'm confused..:eek2:
tnx for editing my post... :)
Re: [vb6] File Copy error
What is contained the textbox? (the exact string)
Re: [vb6] File Copy error
the exact filename and directory actually..
example : "C:\My Docu\masterfile.mdb"
like that..
Re: [vb6] File Copy error
You are using CopyFolder not CopyFile; your source & destination appear to be files.
Re: [vb6] File Copy error
Is the database closed when you attempt to copy it?
Re: [vb6] File Copy error
ei.. tnx now i get it!:wave:
tnx so much.,.,
i've replaced the copyfolder.
tnx xo much!:thumb: