does anyone know how to load contents of a file into a multilined TextBox in net 2.0 compact framework and, after editing save it back to a file (the same or with changed name)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Should be just this simple:
Though you will want to do some exception handling in your production version. But these two lines of code are your bread and butter.
P.S. Most things that you get to do with the full .NET framework also work in the compact edition. So when you’re searching for the “how to”, never mind looking compact-specific code at first. Just try the standard .NET offerings.