By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,694 Members | 1,325 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,694 IT Pros & Developers. It's quick & easy.

Get " My Music" directory

P: n/a
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?

Feb 14 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
"igul222" <TF********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.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.My Music
Feb 15 '06 #2

P: n/a
"igul222" <TF********@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.SpecialFold er.MyMusic)'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Feb 15 '06 #3

P: n/a
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"igul222" <TF********@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.SpecialFold er.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!
Feb 15 '06 #4

P: n/a
And that lot was only shaving the fur off the left ear :)
"Al Reid" <ar*****@reidDASHhome.com> wrote in message
news:uc**************@TK2MSFTNGP10.phx.gbl...
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"igul222" <TF********@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.SpecialFold er.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!

Feb 15 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.