Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run class from EXE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01017632
Message ID:
01017643
Vues:
17
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform