Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want a Example Of MTS with VB6 Code

Status
Not open for further replies.

manishjoisar

Programmer
Apr 29, 2002
52
0
0
IN
Can anybody give small Code example of MTS In VB6
i have made a DLL which reside in COM+ of Server & i
am using that for INSERT,UPDATE,SELECT

But i want idea about MTS
 
The best way is to create one with Enterprise Admin, and then look at the code. It can be saved as a Visual Basic file. (v7 and 2000)

Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
How to Create with Enterprise Admin can you explain

Thanks
 
On enterprise manager select the database you are working with.
Then select "Data Transformations Services->local packages"
and create a new package.

There is a very good help on DTS on SQL Server Books Online, supplyed with SQL Server. These are also available at for free.

READ THEM.



Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
I want to work with ( MTS ) & Not DTS. It is same or what??

Thanks
 
No it is completely different!! I think mis-read!

MTS - Microsoft TRansaction Server / COM+

With MTS you need to remember that your transaction will only be completed when you call SetComplete of the parent object. It is more of a procedural way of coding than a heirarchical way of programming, because the requirement that it is 'all or nothing' approach.

For good example look for "Duwamish online" at msdn.microsoft.com
 
If i want to go for Multi tier Application then i have to learn MTS & COM+ OR Only COM+ is enough


Thanks
 
Can you make me understand what actually MTS is use for

Example

I have Header Table ,Detail Table & I want to save in it so what is use of MTS in this / It is for anything else

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top