Results 1 to 5 of 5
  1. #1

    Default Processing External Files in C#


    guyz i need help on something....what code should i use if i want to get information from a .txt external file...like i have a notepad file and i want to get all words with a length of 4 in C#

    any help would be appreciated

  2. #2
    Quote Originally Posted by Deathnote View Post
    guyz i need help on something....what code should i use if i want to get information from a .txt external file...like i have a notepad file and i want to get all words with a length of 4 in C#

    any help would be appreciated
    try daw ni bro

    Process.Start("file.txt");

    if not enough visit daw ni basin maka tabang ni. C# Process.Start Command-Line Examples

  3. #3
    search for file handling in C#...its all over the net..

  4. #4
    System.IO.File.ReadAllText("youfilepath");

  5. #5
    i ended up using this

    System.IO.StreamReader file =
    new System.IO.StreamReader("date.txt");

    tnx for pointing me on the right direction guyz ^.^

  6.    Advertisement

Similar Threads

 
  1. How to open a file in visual basic.
    By AMD_earl in forum Programming
    Replies: 6
    Last Post: 09-09-2010, 04:15 PM
  2. $1B Anti-Spam Lawsuit Filed in Virginia
    By grss1982 in forum Software & Games (Old)
    Replies: 4
    Last Post: 04-30-2007, 03:47 PM
  3. Deleting deep freeze file in BIOS' using boot disk
    By l3inad in forum Software & Games (Old)
    Replies: 1
    Last Post: 01-05-2007, 02:14 PM
  4. how to attach a file in the thread? (help!)
    By vbrhitchz in forum Music & Radio
    Replies: 4
    Last Post: 10-21-2006, 11:00 PM
  5. What program is locking what file in XP?
    By tokidoki in forum Software & Games (Old)
    Replies: 10
    Last Post: 06-14-2006, 01:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top