Home All Groups Group Topic Archive Search About

Get " My Music" directory

Author
14 Feb 2006 11:43 PM
igul222
I have a text input, and I would like the default text in it to be the
path to the current user's My Music directory. How can this be achieved?

Author
14 Feb 2006 11:52 PM
Al Reid
"igul222" <TFBFQF4***@gmail.com> wrote in message
news:1139960582.088033.202480@g44g2000cwa.googlegroups.com...
>I have a text input, and I would like the default text in it to be the
> path to the current user's My Music directory. How can this be achieved?
>

Text1.Text = Microsoft.VisualBasic.FileIO.SpecialDirectories.MyMusic
Author
15 Feb 2006 12:24 AM
Herfried K. Wagner [MVP]
"igul222" <TFBFQF4***@gmail.com> schrieb:
>I have a text input, and I would like the default text in it to be the
> path to the current user's My Music directory. How can this be achieved?

'Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
15 Feb 2006 12:29 AM
Al Reid
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23STPjYcMGHA.2064@TK2MSFTNGP09.phx.gbl...
> "igul222" <TFBFQF4***@gmail.com> schrieb:
>>I have a text input, and I would like the default text in it to be the
>> path to the current user's My Music directory. How can this be achieved?
>
> 'Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)'.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>

There sure are a lot of ways to skin the cat with .Net!
Author
15 Feb 2006 10:04 AM
Stephany Young
And that lot was only shaving the fur off the left ear :)


Show quoteHide quote
"Al Reid" <arei***@reidDASHhome.com> wrote in message
news:ucAkdbcMGHA.1132@TK2MSFTNGP10.phx.gbl...
> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
> news:%23STPjYcMGHA.2064@TK2MSFTNGP09.phx.gbl...
>> "igul222" <TFBFQF4***@gmail.com> schrieb:
>>>I have a text input, and I would like the default text in it to be the
>>> path to the current user's My Music directory. How can this be achieved?
>>
>> 'Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)'.
>>
>> --
>> M S   Herfried K. Wagner
>> M V P  <URL:http://dotnet.mvps.org/>
>> V B   <URL:http://classicvb.org/petition/>
>
> There sure are a lot of ways to skin the cat with .Net!
>