October 1998
Intermediate to advanced
656 pages
16h 10m
English
| FileSystemObject.GetExtensionName Method (VB6) |
Yes
oFileSysObj.GetExtensionName(Path)
oFileSysObj
Use: Required
Data Type: FileSystemObject object
Any object variable returning a FileSystemObject object.
Path
Use: Required
Data Type: String
A path specifier.
A String.
Returns the extension of the file element of a given path.
If the extension in Path can't be determined, a zero-length string ("") is returned.
GetExtensionName doesn't verify that Path is valid.
Path can be a network drive or share.
GetExtensionName has no intelligence. It simply parses a string and returns the text that follows the last dot of the last element.
Read now
Unlock full access