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

[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 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>