Try
CLEAR CLASS Programa
rename ...
>>>Hi,
>>>
>>>If I instantiate a class from another executable like:
>>>
>>>objPrograma = NewObject("Programa", "Programa.VCX", "Auxiliar\Programa.EXE")
>>>
>>>
>>>If I try to rename
Auxiliar\Programa.EXE isn't possible because the class
Programa is in the memory.
>>>
>>>How can I release
Auxiliar\Programa.EXE from memory to rename it ?
>>>
>>>I can do like this:
>>>
>>>objPrograma = NewObject("Programa", "Programa.VCX", "Auxiliar\Programa.EXE")
>>>objPrograma.SomeMethod()
>>>Release objPrograma
>>
>>* try
>>
>>CLEAR CLASSLIB Programa.VCX
>>
>>>Rename Auxiliar\Programa.EXE to Auxiliar\Programa_OLD.EXE
>>>
>
>CLEAR CLASSLIB Programa.VCX
>
>return an error message
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.