|
-
Nov 4th, 2002, 09:05 PM
#1
Thread Starter
Hyperactive Member
ShortPathAndFile Desktop
How can I get the Short path and filename of a file that is on my desktop??
I'm running windowsXP.
I'm doing it the way that one would presumably do it, and i'm getting gobbldy-goop... but it's working for all the files which aren't on my desktop (or in a desktop folder)...
Does anyone know??
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
Nov 5th, 2002, 05:04 AM
#2
short path? What's that, and why would you want it?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 5th, 2002, 05:49 PM
#3
Thread Starter
Hyperactive Member
I'm using GetShortPathName() to get it. And it's working perfectly for all files which aren't on my desktop, but some reason the files on my desktop give the function errors. I'm using it because I need a file name that has no spaces in it.
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
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
|