loProg = creatobject("progressindicator.ProgressIndicator") loProg.setCaption() loProg.show() loProg.visible = .f. loProg = null /pre> It seems funny that geting rid of the release() made the differenct. Thanks again. >Sorry, I overlooked that. You have to hide it/make it not visible in order to release it. > >>Tore, >> >>I tried that and it didn't help. The interesting part is if I don't show() the form then the com object will release. >> >>>>Hi All >>>> >>>>I have a com exe that I am using to dispaly a progress graphic while doing long processes. I am having problem with the com.exe not releasing. What is the best way to make sure the com.exe gets released from memory? Some code. >>>> >>>><pre> >>>>loProg = creatobject("progressindicator.ProgressIndicator") >>>>loProg.setCaption() >>>>loProg.show() >>>>loProg.release() >>>>>>>>
>>>loProg = creatobject("progressindicator.ProgressIndicator") >>>loProg.setCaption() >>>loProg.show() >>>loProg.release() >>>loProg=.null. >>>Release loProg