You're welcome. What you are using is not the common dialog, rather it is some other DLL. That explains why the parameter is required; the DLL's class function/method requires the parameter.