There is a timeout parameter on the package property that I can set (default 3 minutes); however, I would like to run some code at the time the timeout occurs (similar to Form_Unload). Is this possible?
In VB 6.0, your MTS package can establish a link to MTS core functionality via the ObjectContext object. This object has two methods and one property: ObjectControl_Activate(), ObjectControl_Deactivate() and ObjectControl_CanBePooled() respectively.<br>
<br>
When you want something like Form_Unload (or, better, Form_Terminate), I think you are looking for the MTS method ObjectControl_Deactivate(). For more information on this topic search Devx.com with keyword "ObjectContext." <p>Bryan Wilhite<br><a href=mailto:rasx@kintespace.com>rasx@kintespace.com</a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.