Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Sat Aug 02, 2008 5:06 am Post subject: HOWTO: Determine whether a node is a network drive/shared folder |
|
|
Use the following code to determine whether a node is a network drive/shared folder :
[C++]
//Value for attribute Share = 131072
if((m_folderView.GetSelectedNode().GetAttributes(131072) && 131072)!=0)
{
// Node is network drive/shared folder ....
}
[VB6]
If (fldrView.SelectedNode.Attributes(AttributeTypes.Share) And AttributeTypes.Share) Then
' Node is network drive/shared folder ....
End If |
|