Click here to Skip to main content
15,868,340 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
G'day,

I'm trying to write to a text file that is a resource of the solution in Visual Basic 2008. Unfortunately, I don't know how to do that. All the guides, questions etc. seem to be about writing to external text files. Could someone please help me?

Thanks
Posted
Updated 13-Jul-11 23:34pm
v2

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 14-Jul-11 16:06pm    
This link gives enough information (so, my 5) on the topic but some answers can be confusing the less experience reader, so it should be said: embedded resource is strictly read-only -- see my answer.
--SA
If this is embedded resource, it is embedded in the executable, which is strictly read-only, so you won't be able to modify it. Why indeed? It is never needed, taking in consideration its purpose.

—SA
 
Share this answer
 
Comments
Member 8083370 20-Jul-11 4:46am    
I am making a game for a school assignment, need somewhere to store the high scores. Trying to get a file that goes with the package, and isn't just floating around somewhere.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900