Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM implementation
Message
 
 
À
23/11/2004 05:48:01
Deepak Chopra
IBM Global Services India Pvt. Ltd.
Pune, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00958020
Message ID:
00963767
Vues:
14
Hello, Deepak.

>I have a com component at win 2003 server. I wanted to call/execute this from a foxpro application menu running on the client.

If you have a proxy to the componenyt installed at the client, you just need to do a simple:
loComponent = CreateObject( "YourDLL.YourClass" )
loComponent.OneMethod()
If you don't have the component proxy on the client, but you know the IP address of the Server and the ClassID of the component (which you can get from its VBR file), you can use
loComponent = CreateObjectEX( lcClassID, "192.168.0.1" )
loComponent.OneMethod()
Hope this helps,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform