I have written an application in vb6 that calls a function defined in a C++ dll. I am also using the ccrpprg6 ocx to display a progress bar on the form.

I have tried running the application on some other systems. It worked fine on the first two, after I had registered the ocx. However, on the next two it gives the error "Argument not optional".

It is baffling because I cannot understand why it might be doing that.

If anyone has any suggestions please do respond.