Home All Groups Group Topic Archive Search About

Find All users Desktop

Author
2 Dec 2006 8:58 AM
reidarT
How do I find the all Users Desktop.
I want to put a shortcut there?
And at the same time I want to add a shortcut to the 'StartBar'

reidarT

Author
2 Dec 2006 7:26 PM
Gino
Hope this helps
Watch for line wrap

Module Module1
    Sub Main()
        Dim folderPath As String
        Dim tempPath As String
        tempPath = (System.Environment.GetFolderPath _
        (Environment.SpecialFolder.CommonApplicationData))
        folderPath = tempPath.Replace("Application Data", "Desktop")
        Console.WriteLine(folderPath)
        Console.ReadLine()
    End Sub
End Module

Show quoteHide quote
"reidarT" <rei***@eivon.no> wrote in message
news:Oa9GAAfFHHA.1912@TK2MSFTNGP03.phx.gbl...
> How do I find the all Users Desktop.
> I want to put a shortcut there?
> And at the same time I want to add a shortcut to the 'StartBar'
>
> reidarT
>