property File.FullName as String

Retrieves the full name of the file.

 TypeDescription 
   String A string value that indicates the file/folder's full name.  

The FullName property is read-only. Use the FullName property to get the path for the file or folder. Use Folder property to check whether the File object contains a file or a folder.  Use the Name to get the displayed file/folder's name. Use the BrowseFolderPath property to specify the path to the browsed folder. Use the Get method to retrieve the selected items.

The following VB sample displays the full name for all selected items:

With ExFileView1.Get(SelItems)
    Dim i As Long
    For i = 0 To .Count - 1
        With .Item(i)
            Debug.Print .FullName
        End With
    Next
End With

The following C++ sample displays the full name for all selected items:

CFiles files = m_fileview.GetGet( 0 /*SelItems*/ );
for ( long i = 0; i < files.GetCount(); i++ )
	OutputDebugString( files.GetItem( COleVariant( i ) ).GetFullName() );

The following VB.NET sample displays the full name for all selected items:

With AxExFileView1.get_Get(EXFILEVIEWLib.TypeEnum.SelItems)
    Dim i As Integer
    For i = 0 To .Count - 1
        Debug.WriteLine(.Item(i).FullName)
    Next
End With

The following C# sample displays the full name for all selected items:

EXFILEVIEWLib.Files files = axExFileView1.get_Get(EXFILEVIEWLib.TypeEnum.SelItems);
for (int i = 0; i < files.Count; i++)
	System.Diagnostics.Debug.WriteLine( files[i].FullName );

The following VFP sample displays the full name for all selected items:

With thisform.ExFileView1.Get( 0 ) && SellItems
	local i
	for i = 0 to .Count - 1
		with .Item(i)
			wait window nowait .FullName
		endwith
	next
EndWith

 

 


Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.