F faqrudeen New member Local time Today, 23:06 Joined Oct 7, 2007 Messages 1 Oct 7, 2007 #21 hai guys i tried likes below code but message comes "Permission Denied" pls. help Private Sub Command0_Click() FileCopy "L:\Database\Contracts\New Database\DocappNew.mdb", "P:\My Documents\DATABASE" End Sub
hai guys i tried likes below code but message comes "Permission Denied" pls. help Private Sub Command0_Click() FileCopy "L:\Database\Contracts\New Database\DocappNew.mdb", "P:\My Documents\DATABASE" End Sub
P petehilljnr Registered User. Local time Today, 12:06 Joined Feb 13, 2007 Messages 192 Oct 8, 2007 #22 Can you copy from L:\Database\Contracts\New Database\ into P:\My Documents\DATABASE by using Windows Explorer??
Can you copy from L:\Database\Contracts\New Database\ into P:\My Documents\DATABASE by using Windows Explorer??
boblarson Smeghead Local time Today, 12:06 Joined Jan 12, 2001 Messages 32,059 Oct 8, 2007 #23 faqrudeen said: hai guys i tried likes below code but message comes "Permission Denied" pls. help Private Sub Command0_Click() FileCopy "L:\Database\Contracts\New Database\DocappNew.mdb", "P:\My Documents\DATABASE" End Sub Click to expand... You gotta include the file name: FileCopy "L:\Database\Contracts\New Database\DocappNew.mdb", "P:\My Documents\DATABASE\DocappNew.mdb"
faqrudeen said: hai guys i tried likes below code but message comes "Permission Denied" pls. help Private Sub Command0_Click() FileCopy "L:\Database\Contracts\New Database\DocappNew.mdb", "P:\My Documents\DATABASE" End Sub Click to expand... You gotta include the file name: FileCopy "L:\Database\Contracts\New Database\DocappNew.mdb", "P:\My Documents\DATABASE\DocappNew.mdb"
I imhemal29 New member Local time Tomorrow, 00:36 Joined Jan 24, 2008 Messages 1 Jan 24, 2008 #24 Here you have to give directory with file name For example Source_file as string = "c:\test.pdf" destination_file as string = "c:\test\test.pdf" filecopy(source_file,destination_file) Your file will be copied in c:\test with test.pdf
Here you have to give directory with file name For example Source_file as string = "c:\test.pdf" destination_file as string = "c:\test\test.pdf" filecopy(source_file,destination_file) Your file will be copied in c:\test with test.pdf