Sky Software Homepage LogicNP Software Knowledge Base And FAQ

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

HOWTO: Determine whether an item is a network drive/shared folder

 
Subscribe to the RSS feed for this forum  Forum Index -> FileView ActiveX Control
View previous topic :: View next topic  
Author Message
Support



Joined: 18 Jul 2005
Posts: 731

Posted: Sat Aug 02, 2008 5:08 am    Post subject: HOWTO: Determine whether an item is a network drive/shared folder

Use the following code to determine whether an item is a network drive/shared folder :

[C++]
//Value for attribute Share = 131072
if((m_fileVw.GetFirstSelectedItem().GetAttributes(131072) && 131072)!=0)
{
// Item is network drive/shared folder ....
}


[VB6]
If (fileView.FirstSelectedItem.Attributes(AttributeTypes.Share) And AttributeTypes.Share) Then
' Item is network drive/shared folder ....
End If
Back to top
Display posts from previous:   
Forum Index -> FileView ActiveX Control All times are GMT
Page 1 of 1

 
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group