"modified outside the source editor" 
Author Message
 "modified outside the source editor"

Every once in a while, while editing my VB.NET application, I get a pop-up
dialog box saying

    This file has been modified outside the source editor

and then it asks if I want to reload it. I'm mystified by this message,
because I never changed anything outside the source editor. Consequently, I
don't know if I should be "reloading" anything suspicious. So I ignore it,
and hope all goes well. So far nothing serious has happened.

Can anyone explain what this message really means?

Don Peters



Thu, 22 Sep 2005 01:20:28 GMT  
 "modified outside the source editor"

Quote:
> Every once in a while, while editing my VB.NET application, I get a pop-up
> dialog box saying

>     This file has been modified outside the source editor

> and then it asks if I want to reload it. I'm mystified by this message,
> because I never changed anything outside the source editor. Consequently,
I
> don't know if I should be "reloading" anything suspicious. So I ignore it,
> and hope all goes well. So far nothing serious has happened.

> Can anyone explain what this message really means?

VS uses in essense a FileSystemWatcher to watch all of the files you have
open in editors.  Whenever another process edits the file, you get this
message.  We get this at our office from our virus scanner.  It works in the
background and uses NTFS alternate file streams to store info about the
files it scans.  Writing to an alternate file stream triggers file-change
event that triggers this warning from VS: harmless but annoying.

You will also get this warning if you have the autogenerated .vb files for
strongly-typed datasets open when the dataset generation tool runs, and you
will get this message when working in asp.net on a web server you share with
other developers.

In all cases, if you have a file open in an editor with changes, "reloading"
will wipe out your changes.

David



Thu, 22 Sep 2005 01:34:06 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Modified outside of the source editor??

2. "This file has been modified outside of the source editor."

3. Accessing "Modified" property

4. Programmatically modifying field "description" property

5. How to Modify "sent From" field

6. Cannot open the "Visual Basic-Editor"

7. "Macro" in VB Editor

8. VB4 Editor Crashes "Randomly"

9. *"*-.,._,.-*"* I"LL TRADE VISUAL C++ FOR VBASIC *"*-.,_,.-*"*

10. modifying "run=" line in win.ini

11. Editor question on "Commenting Out"

12. "Windows Script Editor", where are you?

 

 
Powered by phpBB® Forum Software