Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET File I/O and Registry > Text file reading and writing


Reply
 
Thread Tools Display Modes
  #1  
Old 07-17-2010, 06:56 AM
NoobiDoobi NoobiDoobi is offline
Newcomer
 
Join Date: Jul 2010
Posts: 1
Default Text file reading and writing


I have just recently been using VB 2010 after using VB5. I have noticed a lot of changes. The problem I have is that I wish to open and save text files to and from arrays in the background. I've attached what I would do in VB5. I have searched around, but all the examples I find use a Textbox instead of an array. Can anyone show me how I can do this with VB 2010?

Thanks
Attached Files
File Type: txt Files.txt (883 Bytes, 5 views)
Reply With Quote
  #2  
Old 07-18-2010, 09:38 AM
AtmaWeapon's Avatar
AtmaWeapon AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,419
Default

I think you'd do good to start with File I/O in VB .NET. That will get you used to the file I/O. Arrays pretty much work the same way as in VB5 I'd reckon (there's perhaps some new stuff but it'd be a bit overwhelming to discuss it all at once.) Putting stuff in array elements ought to be the same as putting stuff in a text box, for the most part.

Read about the file I/O in VB .NET and see if that doesn't help. Try some stuff out and if you get stuck ask more questions.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->