06.59 Edit Read-Only Files

WINDOWS

Alt,T, O

MENU

Tools | Options | Environment | Documents

COMMAND

Tools.Options

VERSIONS

2008, 2010

CODE

vstipEdit0074

When you open a read-only document, you get an indicator that looks like a tiny lock on the file tab:

image with no caption

If you make changes and try to save them, you are (by default) met with the Save Of Read-Only File dialog box.

image with no caption

At this point, you can save your changes as another copy of the file, overwrite the existing file, or cancel. If you don’t like these options, you can turn this feature off by going to Tools | Options ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.