>Since you're sure that the class is OLE PUBLIC, I would ask if you have restarted VFP and tried it. Maybe something is hung up in memory that is preventing the class from instantiating again.
>
>
>>>>I have built an exe module.
>>>>I am using the following code to run from a command line an OLE public class:
>>>>o = CREATEOBJECT('executablename.classname')
>>>>In Init of the class I have This.Visible = .T.
>>>>It worked for one time. I mean the class became visible. But then as many times I am running the command the class is not visible.
>>>>Any help, please?
>>>
>>>
>>>oEXEClass = CREATEOBJECT('executablename.classname')
>>>oEXEClass.Visible = .t.
>>>
>>
>>That would be too easy :)
>>Nope, I tried that.
Did not help.