I will see if this class has all that I need. But about the error, any ideas?

Thanks, for you reply!