Aug 3, 2001 #1 Diogo Technical User Mar 22, 2001 143 PT Hello, a little question that would help me very much. Is it any way to the DirListBox return the path in format 8.3? Thanks any way. Diogo
Hello, a little question that would help me very much. Is it any way to the DirListBox return the path in format 8.3? Thanks any way. Diogo
Aug 3, 2001 #2 BeeBaw Programmer Dec 15, 2000 9 GB Try this (you'll need to add Microsoft Scripting Runtime to project): Dim LobjFolder As Folder Dim LobjFSO As New FileSystemObject Dim LstrShortPath As String Set LobjFolder = LobjFSO.GetFolder(dirList.Path) MsgBox ("ShortPath:" & LobjFolder.ShortPath) MsgBox ("FullPath:" & LobjFolder.Path) Set LobjFSO = Nothing Set LobjFolder = Nothing This should sort you out, let me know if it doesn't. Upvote 0 Downvote
Try this (you'll need to add Microsoft Scripting Runtime to project): Dim LobjFolder As Folder Dim LobjFSO As New FileSystemObject Dim LstrShortPath As String Set LobjFolder = LobjFSO.GetFolder(dirList.Path) MsgBox ("ShortPath:" & LobjFolder.ShortPath) MsgBox ("FullPath:" & LobjFolder.Path) Set LobjFSO = Nothing Set LobjFolder = Nothing This should sort you out, let me know if it doesn't.
Aug 4, 2001 Thread starter #3 Diogo Technical User Mar 22, 2001 143 PT Thanks BeeBaw it´s just that what i want. Upvote 0 Downvote