Cari Blog Ini

13 September 2012

Warning: Path/File Access Error or This File Exists With Read Only Attributes

Apply To:
* Microsoft Visual Basic 6


Problem:
* When edit a file, example: add some code in "RepFrm (PRP00001.frm)",
then save the file,
there is a warning "Path/File access error: D:\share\Test-Report\1\PRP00001.frm' "

and "This file exists with Read Only attributes. Please use a different file name."






Solution:

1. Go to folder or selected file, then choose "Properties"


2. Un-tick the Attributes: Read-only, next click "Apply", then click "OK".




3. Check the file in project, it can edited




4. Go to file that want to edit, then add some code, example: "RepFrm (PRP00001.frm)"

5. Then save the file successfully