Hi,
For handling errors in my package, I want to display specific error message in SoftPro's "Errors and Warnings" window. How can I do that?
I tried to just throw an exception from my code, but it caused SoftPro client to pop up a error dialog rather than showing the message in Error and Warning window.
Thanks.
Kevin
How to add message to "Errors and Warnings" window
Re: How to add message to "Errors and Warnings" window
Hi Kevin,
You need to get ahold of the IErrorList service, and add to it the messages you want to report using IErrorList.Add(). You will need to use the ErrorKind enumeration to specify the type of message to display (Warning, Error or Info).
Let us know if you need further assistance.
You need to get ahold of the IErrorList service, and add to it the messages you want to report using IErrorList.Add(). You will need to use the ErrorKind enumeration to specify the type of message to display (Warning, Error or Info).
Let us know if you need further assistance.