|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Create a file in My Documents folderHi,
I want to create a file in My Documents folder. How to get the folder path? Thanks in advance "Li Pang" <LiP***@discussions.microsoft.com> schrieb: \\\> I want to create a file in My Documents folder. How to get the folder > path? Imports System .... Dim s As String = _ Environment.GetFolderPath(Environment.SpecialFolder.Personal) /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Hi Herfried K. Wagner,
Thanks a lot. Additional question: How to get the local language setting? Thanks in advance Show quoteHide quote "Herfried K. Wagner [MVP]" wrote: > "Li Pang" <LiP***@discussions.microsoft.com> schrieb: > > I want to create a file in My Documents folder. How to get the folder > > path? > > > \\\ > Imports System > .... > Dim s As String = _ > Environment.GetFolderPath(Environment.SpecialFolder.Personal) > /// > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > > Herfried K. Wagner [MVP] wrote:
> "Li Pang" <LiP***@discussions.microsoft.com> schrieb: Interesting that there would be two special folders that point to the> > I want to create a file in My Documents folder. How to get the folder > > path? > > > \\\ > Imports System > ... > Dim s As String = _ > Environment.GetFolderPath(Environment.SpecialFolder.Personal) > /// same place, I always use: Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) Is there a situation where the two would point to different locations? |
|||||||||||||||||||||||