CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    72

    Hiding file that must be on computer.

    I have another quick question for everyone! I want to hide a file on a users computer that will be deleted after 30 or so days, but the program must have it to run. Kinda like PreviewSoft does with their TimeLock software. Anybody have any ideas?

    Thanks again!
    Nathan Strandberg



  2. #2
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: Hiding file that must be on computer.

    SetFileAttributes can be used to make the file hidden.
    You also might want to set its name to something like zzzfile
    so it falls to the bottom of a sorted list.



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

Featured