|
-
Jun 4th, 2001, 03:26 PM
#1
Thread Starter
Addicted Member
Recent File String
I can remember seeing an API that converted a filename
(e.g. C:\Program Files\Microsoft Office\Templates\Presentation Designs\Blue Diagonal.pot)
to a shorter version of the filename
(e.g. c:\Program Files\...\Blue Diagonal.pot)
so it could be displayed in a Recent File list.
Can anyone remember which API does this?
Cheers
-
Jun 4th, 2001, 06:31 PM
#2
Since I do not have VB on this machine, I can't look in my API viewer, but another suggestion is to create your own with the Split() function.
VB Code:
vList = Split(sPath)
sShortPath = vList(0) & "\" & vList(1) & "\" & "..." & "\" & UBound(vList)
-
Jun 5th, 2001, 02:40 AM
#3
Thread Starter
Addicted Member
I know how to write one myself, but I want to use the API.
Does anyone know what the API is called?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|