Friend of mine has a problem :).
There is an application written in Visual Basic 6.0 (not by him).
One of users reported that when it run on Windows 2000 and tried to scan folders on disk it raised box with message:
Run-time error 1012 Error accessing application data directories
We couldn't google anything about it and didn't find anything about runtime error 1012 in VB6 help files.
My guess was that VB calls some old API function which returns folder to which app has no access (private, ciphered, belongs to other user and app is run by user without needed privileges).
But we could not reproduce this (on Windows XP professional).
Anyone meets with bug like this in the past?