Results 1 to 5 of 5

Thread: How to create and open a file using vb

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2008
    Posts
    35

    How to create and open a file using vb

    Hi
    I am using vb2005 and want to create a text file and open it or save data to it.need just sample example.
    Thanks

  2. #2
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: How to create and open a file using vb


  3. #3
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: How to create and open a file using vb

    Look up StreamReader and StreamWriter in the help files. Lots of examples
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How to create and open a file using vb

    There are simple examples provided in the MSDN Library for all the common file I/O operations if you care to look. If you search for create text file you'll find links.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2008
    Posts
    35

    Resolved Re: How to create and open a file using vb

    Thanks everyone

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width