>Erik:
> on the objimg = objapp.createviewerobject(1), I am getting this error:
>"OLE IDISPATCH EXCEPTION CODE 87 FROM IMAGING:CREATE IMAGEFILE OBJECTFAILED..." DO YOU KNOW WHY? THANKS
The generic meaning of the error is an incorrect parameter was passed - it's time to look at the docs at your end and see what the parameter is supposed to be.