Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21251

Known Folder "Program Files" without hard-coded it

$
0
0
in msdn says that from a 32bits process you can't retrieve the path of welll known folder for 64bits programs, but I needs to know without hardcoding it.

is there an enviroment variable or maybe some key readable from a 32bits process like VB?

in other words, how to known "C:\Program Files" regardless of Windows language and not standard Installation location. Note that I am not asking about "C:\Program Files (x86)".

Viewing all articles
Browse latest Browse all 21251

Trending Articles



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