Friday, October 20, 2006

Browsers

So called because they browse for files; or more correctly, they allow the end-user to browse for files and folders.


strBrowseFile

Return the Drive, Path, Name and Extent of a chosen file.

Sub TESTstrBrowseFile()
MsgBox UW.Browsers.strBrowseFile
End Sub




StrBrowseFolder

Return the Drive and Path of a chosen folder

Sub TESTstrBrowseFolder()
MsgBox UW.Browsers.strBrowseFolder("Please choose a folder")
End Sub


Return the Drive and Path of a chosen folder starting from a specific root folder.

Sub TESTstrBrowseFolderNewRoot()
MsgBox UW.Browsers.strBrowseFolder("Please choose a folder", "c:\Greaves")
End Sub

0 Comments:

Post a Comment

<< Home