Creating MTStest for a Distributed Transaction (MTStest.vbp)

This code sample provides detail code for creating MTStest.

Note: This sample code has message box statements to help better understand the step-by-step flow of the code. Since DTC is managing the transactions, it is necessary not to lock the tables for a long time. When you use message boxes, you stop the program flow. When regression testing, you must remove all of the message boxes. You can write to a log file instead.