0% found this document useful (0 votes)
58 views1 page

Fixing Permission Denied in VB

An attempt was made to write to a write-protected disk or access a locked file, resulting in a permission denied error in Visual Basic. To resolve this, check that the file or disk is not write-protected, another process has not locked the file, or the user does not have permissions for registry access.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views1 page

Fixing Permission Denied in VB

An attempt was made to write to a write-protected disk or access a locked file, resulting in a permission denied error in Visual Basic. To resolve this, check that the file or disk is not write-protected, another process has not locked the file, or the user does not have permissions for registry access.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Permission denied (Visual Basic)

Visual Studio 2012 Other Versions

This topic has not yet been rated 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.

You might also like