about files

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: yoshitha (gudivada_kmm_at_rediffmail.com)
Date: 11/01/04


Date: Mon, 1 Nov 2004 03:50:43 -0800

Hi,
In my application am using scrrun.dll to create files and folders and also
to copy the files from one folder to another folder.
Using my application i created 2 folders for eg folder1 and folder2.
In folder1 i've some files(i created these files using my application only
these are .rtf files) and on a particular moment i've to move the file in
the folder1 to folder2.
I wrote the code to copy the file from folder1 to folder2.
If mFSO.FileExists(mFile.FullName) Then

mFSO.CopyFile(mnode & filename, Application.StartupPath & "\SignInFolder",
True)

mFSO.CopyFile(mFile.FullName, strFilePath, False)

End If

but while executing the application am getting error like this

"CTL_e_PermissionDenied"

why am getting this error
If u know plz tell me

Thanx in advance
yoshitha


Quantcast