VB.net Read file

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Doomsday123

Thread Starter
Joined
Jul 1, 2002
Messages
505
I am learning computer programing in college and am trying to advance my knowledge outside of class. I am looking to make a program that will read the data inside a file and output it to a textbox on the form. The data that i would like to be displayed on the first line of the file and is about 10 characters long. The file that i want it to read does not have a extension but when opened with wordpad it does have readable text inside. After it being read and output to the textbox I would also like to be able to edit it by typing in a second box a string that will replace the data in the file currently. Could anyone help me to get this to work? Thanks.

*Update* I actually figured it out and made the public function but now what i am trying to do is select where the file is stored at because the file will be stored in one of two locations. It will either be stored on the C: or D: drive. How would i get the program to locate which drive it is stored on then execute the necessary function. Thanks.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top