FindName Method

Object List Next Object

Defined By:
PathString

Allows you to locate a directory/file name in the Path list.

Declaration:

Function FindName (ByVal name As String) As Long

Details:

FindName
returns the index (0 .. Count - 1) to where name appears in the Path. If it does not appear in the list, -1 is returned.