Not sure how to fix this...

ssgglenn

Member
Joined
Jul 14, 2008
Messages
11
Programming Experience
1-3
I was finally able to get my xml files working just the way I wanted them,

BUT

NOW I get an error message from vb studio

"File has been modified ouside of the source editor. Do you want to reload it?"

So my questions are..

1) Do I want to reload it?

2) How do I prevent that message from happening again?

Thanks for all your help
 
That error isn't actually an error, it's a message letting you know that a file that's open in visual studio was modified by another program and it's asking you if you want to re-open the contents of the file (reload the file) because if you don't do that and make changes to the file then the changes you made to the file with the other program are going to be wiped out.

Short and simple, reload the file so to don't undo the changes you made in the other program
 
Thanks

Thank you very much for the info, but when I agree to reload the file, it changes the declaration to something like this:

<?xml version="1.0"?>

instead of <?xml version = "1.0"? encoding="utf-8"?>

Is that something to worry about and am I going to get that message or a similar one when I am done and ready to compile and use my program?
 
I wouldn't worry about it too much, but you can change the line in VS in the file to this:
<?xml version = "1.0" encoding="utf-8"?>
 
Back
Top