Changing .txt Files at Runtime.
I am working on a project that uses a .txt file to store data for my arrays. Everything is working correctly i.e. I can read the file and write to the file, my issues when I exit out of runtime I get this msg
Quote:
M:\My4BVB\....\Customer.txt
This file has been modified outside of the source editor. Do you want to reload it?
I understand what it means, what I would like to know - is there a way to stop it from popping-up?
Thank you in advance
P.S. If my code is required to answer this, I will post it on request :)
Re: Changing .txt Files at Runtime.
This has got nothing to do with your code. That message is from the IDE, not your app, because you have the file open in the IDE when it was changed elsewhere. It doesn't really make a lot of sense to have the file open in VS, change it and then not want it to be reloaded to see the new contents. That said, just like all IDE options, you change that setting in the IDE Options dialogue, under Environment -> Documents.
Re: Changing .txt Files at Runtime.
Thank you very much - Actually I am surprised I did not think of that - mmm maybe not enough coffee or is to much coffee :) Anyway thank you again.