I see. Well, you have to put the declarations and supporting FileExists function together with the GetOperaVersion function in the same module, be it a Form, BAS, Class, etc. module.