|
-
Jun 4th, 2009, 07:07 AM
#1
Thread Starter
New Member
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
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
Last edited by Kumei; Jun 4th, 2009 at 07:54 AM.
-
Jun 4th, 2009, 07:37 AM
#2
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.
-
Jun 4th, 2009, 07:53 AM
#3
Thread Starter
New Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|