My two cents...


Instead of going the VB6.0 workaround way use the .NET framwork
Like:

Code:
Dim FldInfo As IO.DirectoryInfo
        Dim Path As String = My.Computer.FileSystem.SpecialDirectories.Temp
        FldInfo = New DirectoryInfo(Path)
THe specialdirectories is also the way to find the desktopfolder etc...

Have Fun