Sky Software Homepage LogicNP Software Knowledge Base And FAQ

 
Contact Product Support    SearchSearch      Subscribe to the RSS feed for this forum

HOWTO: Determine whether a node is a network drive/shared folder

 
Subscribe to the RSS feed for this forum  Forum Index -> FolderView.Net/WPF
View previous topic :: View next topic  
Author Message
atul
Site Admin


Joined: 18 Jul 2005
Posts: 8

Posted: Fri Aug 01, 2008 6:50 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#]
if((folderview1.SelectedNode.GetAttributes(NodeAttributes.Share) & NodeAttributes.Share)!=0)
{
// Node is network drive/shared folder ....
}


[VB.Net]
If (folderview1.SelectedNode.GetAttributes(NodeAttributes.Share) And NodeAttributes.Share) Then
' Node is network drive/shared folder ....
End If
Back to top
Display posts from previous:   
Forum Index -> FolderView.Net/WPF All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group