Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

[RESOLVED] SpecialFolder returning numerical value?

$
0
0
For some reason when I try to set a path to 'Environment.SpecialFolder.Windows' the path ends up being '36', even when dimming as a string - What the heck am I doing wrong?

Code:

        Dim Install As String = Environment.SpecialFolder.Windows
        MsgBox(Install & "\qcinfs\temp.inf")

Outputs as '36\qcinfs\temp.inf' :-(

Viewing all articles
Browse latest Browse all 27348

Trending Articles