Results 1 to 2 of 2

Thread: VS2008 Make A Program That Copy An Hide The Files

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2010
    Posts
    137

    VS2008 Make A Program That Copy An Hide The Files

    I want to make a program to copy files from the directory c:/program files/common files/apple/apple application support to c:/
    And hide these files

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

    Re: VS2008 Make A Program That Copy An Hide The Files

    To get all the files in a folder you call IO.Directory.GetFiles.
    To copy files you call IO.File.Copy.
    To set file attributes, e.g. Hidden, you call IO.File.SetAttributes.
    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