>I have an old VFP 6 application that I am trying to get to run on windows 7 64.
>
>It has an INI file that tells the program where the data directory is. In XP, the file is located in C:\windows\paths.ini
>
>From years of experience using this app, i know that it returns an error if it can not locate the file (paths.ini). This is the same error I am getting.
>
>I have dropped the INI file in nearly every directory I can think of and I still get the error message. Can not locate a dbc.
>
>I have tried
>c:\windows
>c:\windows\system
>c:\windows\system32
>
>even placed it in the root of the program folder. It still can't find it.
>
>I've been able to get my own older VFP apps to run fine, but this "off the shelf" app is giving me problems.
>
>I have tried running the setup program in XP comparability mode and also tried running the application exe in XP comparability mode.
>
>the exe returns the same location error.
In Windows 7 you need to put INI file in the ProgramData\YourApplicationName directory.
If it's not broken, fix it until it is.
My Blog