Firstly, I'd use $isfile(path\to\file) and make sure it returns $true before trying to load it, and if it's a .ico file, check whether it's an icon library or not and if so whether you're trying to call the correct indexed icon or at least a valid one.

Last edited by Litch; 07/08/10 05:35 AM.