General information
Category:
ActiveX controls in VFP
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only