>do you mean ObjImg = ObjApp.createViewerobject(1) should work it VFP as it is ? I tried to look it up in the help file, I could not find anything on the createviewobject. thanks
The error code 87 is a generic error code indicating an invalid parameter was passed. I don't know anything about the COM object you're using - I just went into the ErrLook program that came with Visual Studio and looked up what error 87 means.
If it exists, CreateViewObject would be a Method of the base object.