Information générale
Catégorie:
Codage, syntaxe et commandes
>I am trying to get a reindex procedure running. The exe is named reindex1. It is registered on the server and my workstation.
>
>I have a form on a workstation with this in the click event:
>Thisform.oreindexServer=CREATEOBJECTEX('reindex1.exe','\\Clubserver')
Steve... you want to do... Server.Class, Machine...
ThisForm.oReIndexServer = createobjextex('Reindex1.Indexer','ClubServer')
For this to work, ReIndex1 would have to be registered on the local machine and the ClubServer machine.
>When I look at the VFPCOM example the EXE that is run has details on the sever page of the project. I cannot seem to get this to function for me.
>
You want to make your Class OLEPUBLIC... you can do this in the ClassInfo dialog for a class in a VCX.. for a class in a PRG just put OLEPUBLIC keyword after the definition of the class, like...
Define Class Indexer as Custom OLEPUBLIC
EndDefine
>Any ideas out there?
HTH,
BOb
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement