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 Chriss Miller 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
Aug 15, 2005
62
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...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top