You'll have to shut down the package. Copy the DLL over the top of the old one, then run mts(x)rereg. This should reregister all dlls that are currently in MTS.<br>
It will shut down an existing package, remove it, create a new one, add the dll and set the transaction property.<br>
Fairly basic stuff.<br>
It's written in VB and using the MTSCatalog. If you want I can send you the source and you can chop it around to get it to work for you.<br>
Use the API call LockWindowUpdate. Pass it the handle of the control before you update it, when you've finished execute LockWindowUpdate 0, to paint the control.
You haven't specified a lock type for your record set. It's being opened as read only, and you are trying to add a row.<br>
<br>
Try this code instead of the command object and the record set.<br>
<br>
Set adorsOrderHeader = New ADODB.Recordset<br>
With adorsOrderHeader<br>
.CursorLocation...
Would anybody like VB source that installs an MTS DLL using automation. It works fine for me, but made need tweaking to achieve exactly what you want to do.<br>
Send me an email to <A HREF="mailto:adam.cruickshank@virgin.net">adam.cruickshank@virgin.net</A> and I'll send you the source.<br>
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.