2 Replies - 367 Views - Last Post: 19 January 2010 - 01:35 PM Rate Topic: -----

#1 nawima93  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 61
  • Joined: 07-November 09

Reading txt files

Posted 19 January 2010 - 01:31 PM

Hello. I was wondering if anyone could help me figure something out.
I am trying to make a program that can read each line of a textfile and print it into something else.

So lets say i have a text file that has:

"Nathan
Is
working
on
this
program"

Written on it, i want the vb program to type each line into whatever text editor is open. Ex: word.
So when i run the program, it will type:

"Nathan
Is
working
on
this
program"

Into word, or whatever text editor is open. Any ideas?

Is This A Good Question/Topic? 0
  • +

Replies To: Reading txt files

#2 Jack Eagles1  Icon User is offline

  • Pugnacious Penguin (inspired by no2pencil)
  • member icon

Reputation: 183
  • View blog
  • Posts: 1,152
  • Joined: 10-December 08

Re: Reading txt files

Posted 19 January 2010 - 01:34 PM

Look into an IO.StreamReader
Was This Post Helpful? 0
  • +
  • -

#3 nawima93  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 61
  • Joined: 07-November 09

Re: Reading txt files

Posted 19 January 2010 - 01:35 PM

Thank you very much. i will look into it.

This post has been edited by nawima93: 19 January 2010 - 01:39 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1