Switch to full style
Thank you for reporting them.
Post a reply

Error: the file "english.movies.dat" couldn't be f

Tue Aug 10, 2010 7:06 am

The error message pops up on startup of the application.

Error: the file "english.movies.dat" couldn't be found

Searched those locations:

C:\Users\Public\Documents\Coollector\Databases\english.movies.dat
C:\Users\Public\Public Documents\Coollector\Databases\english.movies.dat


I know why this is happening. The developer has either hard coded the location of the Users\Public directory to the C: or is pulling the drive letter from the Windows directory. It is possible to move the Users\Public folder to another drive (letter) and have Windows and (most) other applications work without issue.

You should be pulling the Users\Public folder location from the registry at:
Code:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

The String value for "Public" will point you to the correct location.

Also of note, the issue occurs when attempting to write to the "Program Files (x86)" folder on C: (the OS protected one) and the folder by the same name on my D: which is not protected by the OS.

I'm running Windows 7 Pro 64Bit, but as a developer that has researched this for my own applications, this is the key where Windows pulls the information from for all iterations of Vista and Win7 for the Public folder... and others.

Re: Error: the file "english.movies.dat" couldn't

Tue Aug 10, 2010 9:06 am

CraigNobbs wrote:I know why this is happening. The developer has either hard coded the location of the Users\Public directory to the C: or is pulling the drive letter from the Windows directory.

Nope, I was getting the locations from
HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
and I was convinced it worked fine for everyone...


CraigNobbs wrote:You should be pulling the Users\Public folder location from the registry at:
Code:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

The String value for "Public" will point you to the correct location.

Thanks, I will try that. I can't do it today because I have something to finish, but I'll do it tomorrow.

Thank you very much for your feedback and your help !
Post a reply