Information générale
Catégorie:
Codage, syntaxe et commandes
>>I am trying to achieve the following, and I wondered if some kind person could give me the basics and pseudo code for it.
>>
>
>The VB program can call the VFP server with the Createobject command, something similar to the following:
>
>VB code
>
>DIM oVFPServer as Object
>SET oVFPServer = createobject("VFPServer.Report")
>oVFPServer.PrintReport(1) ' 1 is the job number you want to pass
>
>
>In VFP you can create an olepublic PrintReport method in a class that accepts the job number using the lparameters statement.
>
>Let me know if you need more info.
Many thanks for your help.
Kevin
Précédent
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