Determine Application Data path
Posted: Thu Feb 14, 2013 5:55 am
Hello,
for detecting the Applicationdata value we use the IA function Get Common Folder Location System->Application Data Directory. But sometimes this function just returns an empty value. As a fallback we try to get it directly from the registry at SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Shell Folders\Common AppData. But on some user machines this registry value is also set wrong.
Is there maybe another possibilty to determine this value?
Thanks in Advance!
Greets,
Stefan
for detecting the Applicationdata value we use the IA function Get Common Folder Location System->Application Data Directory. But sometimes this function just returns an empty value. As a fallback we try to get it directly from the registry at SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Shell Folders\Common AppData. But on some user machines this registry value is also set wrong.
Is there maybe another possibilty to determine this value?
Thanks in Advance!
Greets,
Stefan