Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Sat Jul 30, 2005 12:00 pm Post subject: HOWTO : Determine if a node is readonly or hidden. |
|
|
You should use the Attributes property of TreeNode.
If node1.Attributes(Hidden) And Hidden then msgbox "Folder" else msgbox "File"
if node1.Attributes(ReadOnly) And ReadOnly then msgbox "Folder" else msgbox "File" |
|