Sherry,
>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
A quick look in MSDN Library reveals that the correct method name is:
ObjImg = OjbApp.Create<b>Image</b>ViewerObject(1)