There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop malware monitor motherboard mouse network networking outlook 2007 power printer problem ram router screen slow sound spyware trojan usb virus vista vista 32-bit windows windows xp windowsxp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
VB.net Read file


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Doomsday123's Avatar
Senior Member with 505 posts.
 
Join Date: Jul 2002
Location: The Big Texas
13-Sep-2004, 05:18 PM #1
VB.net Read file
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.
__________________
Specs

CPU: 3200 megahertz Intel Pentium 4
HD: 80 Gig Maxtor
MB: Asus P4S800
BIOS: ASUS P4S800 ACPI BIOS Revision 1008
BIOS Date: 05/07/04
RAM: 1Gig PC3200 DDR Ram
GPU: Radeon All In Wounder 9800 Pro

Last edited by Doomsday123 : 13-Sep-2004 09:46 PM.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:25 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.