fGetSpecialFolderLocation not working for Program Files

  • Thread starter Thread starter Tony Vrolyk
  • Start date Start date
T

Tony Vrolyk

I am using the function fGetSpecialFolderLocation, which I got here
http://www.mvps.org/access/api/api0054.htm, to get the location of the
Program Files dir but for some reason it is not working.

In the immiediates windows I type
?fGetSpecialFolderLocation(CSIDL_PROGRAM_FILES)
and get nothing. other folder locations return the correct location without
a problem.

Is there some reason it doesn't work in Win XP Pro? What am I missing?

Thanks
Tony Vrolyk
 
Back
Top