ADO DOT NET
Centurion
- Joined
- Dec 20, 2006
- Messages
- 160
I use SetAttr to set a file attribute in VB.NET 2005:
But in MSDN I red that:
The My feature gives you greater productivity and performance in file I/O operations than SetAttr. For more information, see My.Computer.FileSystem Object.
However I was unable to find the "My" version of this command, what should I use?
Thanks.
Visual Basic:
FileSystem.SetAttr(FilePath, FileAttribute.Normal)
The My feature gives you greater productivity and performance in file I/O operations than SetAttr. For more information, see My.Computer.FileSystem Object.
However I was unable to find the "My" version of this command, what should I use?
Thanks.