Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
How do I handle IDISPATCH erros from another com server
Our company is using an MRP system devloped by a third party. I am using a middleware object, that uses OLE Automation for inputing and extracting data. My question in upon trying to add a Bill Of Material structure for example, if an error occurs on the server side of the house an "IDISPATCH" error occurs stating tyhe nature of the problem that has occured. I want to be able to cature the error being raised from that system through VFP, and take appropriate measures to hanle these when they occur.
How do you raise these com server errors to VFP. I am using CREATEOBJECT(......) to create the instance of the server.
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