Error 450: Wrong number of arguments / invalid property assignment

IRIS Earnie

Trying to use the Backup or Restore functions you get program intercepted error (450):

An unexpected wrong number of arguments or invalid property assignment error occurred in payroll.
source: payroll local
module: backup indicator.frm
procedure: sub command 1_got focus
error number: 450

Cause
Missing or invalid file versions. The following files should be checked:-
DZOCX32.OCX (should be version 1.0.0.6)
DUZOCX32.OCX (should be version 1.0.0.6)
DZIP32.DLL (should be version 3.0.0.16) dzactx.dll (should be version 5.0.0.0)
DUNZIP32.DLL (should be version 3.0.0.16) duzactx.dll (should be version 5.0.0.0)

Payroll normally uses the versions of these files stored in its own program folder, however, installation of other products using the same components may cause older versions of the files to take precedence.

Solution
Copy the DZOCX32.OCX & DUZOCX32.OCX from the Earnie program folder to the Windows\System32 folder.
On a 64-bit OS the file would go in the Windows\syswow64 folder.

(You may want to rename the current files first).

If this fails to resolve the problem, you should try copying DZIP32.DLL & DUNZIP32.DLL to the System32 folder as well.

If files with the same names already exist in the System32 folder, you should take a backup of them (rename them) before overwriting them.