MSFN Forum: FILE HANDLING - VISUAL VASIC .NET 2005 - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

FILE HANDLING - VISUAL VASIC .NET 2005 READING WRITING EDITING VIEWING TEXT FILES IN VB.NET Rate Topic: -----

#1 User is offline   ehmod 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 12-May 05

  Posted 23 April 2008 - 03:35 PM

- I found a solution. thanks anyway.

This post has been edited by ehmod: 29 April 2008 - 12:37 PM



#2 User is offline   phkninja 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 28-February 05

Posted 24 April 2008 - 05:54 AM

Easiest method is to create a class that contains variables to record all your data.

Use StreamWriter to add stuff to your file, use StreamReader to read it back.

If you write some code and post it, I'd have a look but not going to write it from scratch for you (It might be seen that you are getting someone to do your assignments for you)

#3 User is offline   ehmod 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 12-May 05

Posted 29 April 2008 - 12:39 PM

View Postphkninja, on Apr 24 2008, 11:54 AM, said:

Easiest method is to create a class that contains variables to record all your data.

Use StreamWriter to add stuff to your file, use StreamReader to read it back.

If you write some code and post it, I'd have a look but not going to write it from scratch for you (It might be seen that you are getting someone to do your assignments for you)


thanks, I just needed to know the steam reader and writer bit, that's all the problem was with my code.

btw, do you know how you can connect a SQL database to vb.net?

This post has been edited by ehmod: 29 April 2008 - 12:40 PM


#4 User is offline   phkninja 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 28-February 05

Posted 01 May 2008 - 04:47 PM

Havent connected VB .Net to anything other than an acces file myself, but these might help

ODBC 1
2

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy