>>I need an equivalent statement in VFP code.
>Dennis,
>
>You said using .NULL. doesn't work, what happens? .NULL. should release the object.
Thanks for the sugestion. But,
MyObject.Renderer = .NULL.
MyObject.Renderer = .F
MyObject.Renderer = 0
All of these statments cause "OLE error code 0x80020005: Type mismatch"
Dennis Lindeman