Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FSYS ,Copy File

Status
Not open for further replies.

selimsl

Programmer
Joined
Aug 15, 2005
Messages
62
Location
TR
Hi

I am trying to copy a file to an another folder

Code:
Dim FSys As New Scripting.FileSystemObject


Code:
FSys.CopyFile CommonDialog1.FileName, App.Path & "\pics\pattern", True

But it gives an error

Run time error '70'
Permission denied

I couldn't find what is the problem

Thanks in advice...
 
70 = target file is open by user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top