|
-
Jun 3rd, 2004, 01:50 PM
#1
Thread Starter
Fanatic Member
SpecialFolder confusion [Resolved]
Hi.
In VS 2003 when using Environment.GetFolderPath you can select Desktop and DesktopDirectory. What's the difference?
The help says that one is logical and the other is physical but the string it returns is the same
You can also select MyComputer. What's up with that? The string returned there is just "".
Does anyone know what the MyComputer (and the rest of those not found in 2002) is for and how to use it?
Last edited by pax; Jun 5th, 2004 at 05:13 PM.
I wish I could think of something witty to put in my sig...
...Currently using VS2013...
-
Jun 3rd, 2004, 06:12 PM
#2
yay gay
I believe the logical would be in english computers like : "Desktop" while in portuguese for example "Ambiente de trabalho".
The phisical is the REAL full path: "C:\windows\desktop\" or whatever it is
\m/  \m/
-
Jun 4th, 2004, 10:08 AM
#3
Thread Starter
Fanatic Member
Hi.
I still don't get it. Both of them are returning the same string?!?
VB Code:
Msgbox (Environment.GetFolderPath(Environment.SpecialFolders.Desktop))
Msgbox (Environment.GetFolderPath(Environment.SpecialFolders.DesktopDirectory))
and
VB Code:
Msgbox (Environment.GetFolderPath(Environment.SpecialFolders.MyComputer))
just returns ""
I wish I could think of something witty to put in my sig...
...Currently using VS2013...
-
Jun 5th, 2004, 05:13 PM
#4
Thread Starter
Fanatic Member
Hi.
Nevermind. It just occured to me...
They are of course for the FolderBrowserDialog RootFolder property.
I wish I could think of something witty to put in my sig...
...Currently using VS2013...
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
|