devxlogo

Debugging an MTS component in Visual Basic 6.0

Debugging an MTS component in Visual Basic 6.0

To debug an MTS component in Visual Basic 6.0, make sure that the MTSTransactionMode property on MTS Objects (VB 6.0 Classes) is set to a value other than 0-NotAnMtsObject. When F5 is hit to begin debugging, and this property is set to a valid value, the object will be activated inside of the MTS run time. You can then easily step through the code from client to server and back again, just as it would with any other component.

devx-admin

Share the Post: