Results 1 to 2 of 2

Thread: [RESOLVED] [2008] Basic File Handling

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2007
    Posts
    167

    Resolved [RESOLVED] [2008] Basic File Handling

    how to
    rename files?
    delete files?
    copy files?
    open files with their specific programs (.txt in notepad, .doc in word, .jpg in acdsee...)?

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

    Re: [2008] Basic File Handling

    IO.File.Move or My.Computer.FileSystem.RenameFile

    IO.File.Delete or My.Computer.FileSystem.DeleteFile

    IO.File.Copy or My.Computer.FileSystem.CopyFile

    Process.Start

    For the first three at least, you could have simply typed the question into MSDN and it would have provided you the answer. Look first, ask questions later.
    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

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