Collapse the table of content
Expand the table of content
Expand Minimize

Permission denied (Visual Basic)

An attempt was made to write to a write-protected disk or to access a locked file.

To correct this error

  1. To open a write-protected file, change the write-protection attribute of the file.

  2. Make sure that another process has not locked the file, and wait to open the file until the other process releases it.

  3. To access the registry, check that your user permissions include this type of registry access.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft