Dim VFPOLE As Object Dim lobject As Object '-- Assign object reference to variable Set VFPOLE = CreateObject("VFPOtest.VOServer") Set lobject = ActiveDocument VFPOLE.Getinfo (lobject) '-- Release the reference Set VFPOLE = NothingI've also tried assigning lobject as me and me.activewindow.document and a bunch of other stuff. Nothing is working. In VFP I save the memory to a txt file right after the parameters statement and it shows me the parameter is of Char type and gives the name of the document. Ideas?