Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Reading from text

Reading from text

Scheduled Pinned Locked Moved Visual Basic
csharpdatabase
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mr kilany
    wrote on last edited by
    #1

    how i can read data from textbox (notepad) which has alot of data by form in vb.net so 1- first i need to select the file 2- reading data 3- arrange data and store the arrangment data in sql

    kilany

    E 1 Reply Last reply
    0
    • M Mr kilany

      how i can read data from textbox (notepad) which has alot of data by form in vb.net so 1- first i need to select the file 2- reading data 3- arrange data and store the arrangment data in sql

      kilany

      E Offline
      E Offline
      EvoFreak
      wrote on last edited by
      #2

      Mr kilany wrote:

      how i can read data from textbox (notepad) which has alot of data by form in vb.net so 1- first i need to select the file 2- reading data

      try this: http://www.vbforums.com/showthread.php?t=423925 It is coded in VS2005 but basically you need to import

      system.io

      open a stream and then make sure you close it after you finish reading. I am not sure what type of data is being read. I am unable to comment on storing/arranging part. If you want to ask the user for where the file is stored, use file dialogues. Hope that helps.

      M 1 Reply Last reply
      0
      • E EvoFreak

        Mr kilany wrote:

        how i can read data from textbox (notepad) which has alot of data by form in vb.net so 1- first i need to select the file 2- reading data

        try this: http://www.vbforums.com/showthread.php?t=423925 It is coded in VS2005 but basically you need to import

        system.io

        open a stream and then make sure you close it after you finish reading. I am not sure what type of data is being read. I am unable to comment on storing/arranging part. If you want to ask the user for where the file is stored, use file dialogues. Hope that helps.

        M Offline
        M Offline
        Mr kilany
        wrote on last edited by
        #3

        thanx alot man, the most important thing that the open and search function included in vb.net , may you give me the topic which is related to open textpad and reading data from it to let me you search engines, and if you have any links related to this supject please care for me, because i have a project which use VB>NET and should read from notepade and search some things inside it, thanx second time ........

        kilany

        E 1 Reply Last reply
        0
        • M Mr kilany

          thanx alot man, the most important thing that the open and search function included in vb.net , may you give me the topic which is related to open textpad and reading data from it to let me you search engines, and if you have any links related to this supject please care for me, because i have a project which use VB>NET and should read from notepade and search some things inside it, thanx second time ........

          kilany

          E Offline
          E Offline
          EvoFreak
          wrote on last edited by
          #4

          I am not sure what you are trying to do here. But if you are trying to read and write from/to text files then try the first two results from this search: http://www.google.co.nz/search?q=read+text+vb.net&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official Streamreaders/streamwriters are what you are after. Make sure that streams are closed after reading/writing.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups