Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call a VFP COM method from Excel
Message
 
À
10/02/2003 14:41:03
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00751581
Message ID:
00751600
Vues:
14
Juan,
There's an example of doing this in this article by Calvin Hsia of Microsoft:
http://www.activevfp.com/dev/dna08.htm
>Hi
>
>I have been reading VFP and Excel help system in order to add optional functions in excel but I can't get sucess at all. This is what I've done:
>
>1. I Created a Custom Olepublic class with an example Method to multiply numbers. I want further to seek and return values from VFP tables.
>
>2. In Excel, I went to Tools - Add-Ins - Automation and I selected MyServer.MyClass from the available servers list.
>
>3. But I get this error:
>Cannot find Add-in 'c:\comserver\myserver.exe /automation'. Delete from list ? YES/NO
>
>
>Any specific guidelines, white papers or books to build this VFP server ?
>
>How to implement help to be displayed when, in Excel, I click on Insert - Function - Category MyServer.MyClass ?
>
>
>
>
>Thanks
>
>Juan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform