Really easy:
File.SetAttributes("" & strFileName & "", FileAttributes.ReadOnly + FileAttributes.Hidden + FileAttributes.System)
Make sure you import System.IO
Subscribe to:
Post Comments (Atom)
These are just a few of the interesting problems (and solutions) that I find everyday during my software development, training and evangelism :)
No comments:
Post a Comment