G
Guest
Hi,
I have an application that contains a class library as another project.
The application basically executes DTS packages on a remote SQL Server.
This works great.
However I want to add some code that will allow the class executing the
current DTS package to send back messages to the main form of the application.
I have tried using throw new system.exception ("message") this only works
when an exception has occured.
The DTS code I use was taken from the net and has on progress, on error, on
start, on finish events that do a console.writeline.
Instead I would like the message not to go to the console but sent out to a
form label in the application.
I don't want to have to necessarily call an exception as this will cause me
to drop out of the code which is in fact working perfectly fine.
thank you,
Chris
I have an application that contains a class library as another project.
The application basically executes DTS packages on a remote SQL Server.
This works great.
However I want to add some code that will allow the class executing the
current DTS package to send back messages to the main form of the application.
I have tried using throw new system.exception ("message") this only works
when an exception has occured.
The DTS code I use was taken from the net and has on progress, on error, on
start, on finish events that do a console.writeline.
Instead I would like the message not to go to the console but sent out to a
form label in the application.
I don't want to have to necessarily call an exception as this will cause me
to drop out of the code which is in fact working perfectly fine.
thank you,
Chris