OK I have been looking into this now for a while - basically we have written an n-tier app VB6, COM+, SQL2000 but we are unsure which is the best way to reference objects. Advice seems to differ and alot of it appears to deal with MTS ratyher than COM+. So initiating a new com+ component from the client do I use:
set myObj = new myObj
set myObj = createobject(myobj) or
set myObj = createinstance(myObj) ????
and what about 1 component referencing another, & what about a component creating an object such as an ADODB.Recordset?
If someone could point me in the right direction it would be much appreciated - I am just confiused as to the reason why etc. Also if anyone could recommend any reading matter - most of the stuff I've seen deals mainly with MTS with a bit about COM+ at the end which just adds to the confusion.
TIA - Nigz
set myObj = new myObj
set myObj = createobject(myobj) or
set myObj = createinstance(myObj) ????
and what about 1 component referencing another, & what about a component creating an object such as an ADODB.Recordset?
If someone could point me in the right direction it would be much appreciated - I am just confiused as to the reason why etc. Also if anyone could recommend any reading matter - most of the stuff I've seen deals mainly with MTS with a bit about COM+ at the end which just adds to the confusion.
TIA - Nigz