Finding desktop path [solved]

Posts 15 of 5 · Page 1 of 1
Finding desktop path [solved]
is it
Code:
 
"C:\Users\%USERNAME%\Desktop"
or what is it im not that familer with visual basic programming

please and TY
Not every PC has C as System drive (My system drive is G: for example)

Maybe this helps:
Code:
My.Computer.FileSystem.SpecialDirectories.Desktop
?
thanks you will get credits
[highlight=vb.net]
Dim desktop As String = Environment.GetFolderPath(Environment.SpecialFolde r.Desktop)
[/highlight]

Marked solved anyway.
Posts 15 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?