Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with CREATEOBJECTEX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00316317
Message ID:
00316361
Vues:
23
>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
Fil
Voir

Click here to load this message in the networking platform