Mr. Severe's description of property bag use is correct. This is how you
persist objects in MSMQ. It doesn't, however, work with persisted
recordsets. It seems like there are additional underlying interfaces of the
recordset that are not exposed and that are required.
Paul Adamson
> i dont think you can add an object to a propertybag as a property,
> your suppose to convert it to a string, dont you ?
> > One easy way to take care of this to use VB propertyBag.
> > Add 4 properties to the propertybag and set each property's value to one
> > of the
> > recordset, of course in the backend when you are opening the propertybag
> > you must
> > know the name of each property and the value each has..
> > Jon-Slem
> > > Hi all,
> > > i was tring to send a MSMQ message containg a recordset object and it
> works,
> > > the recordset was actually persisted, but when i tried to do the same
to
> a
> > > Hierarchchal Recordset the Father Recordset passed ok, but the child
> > > recordsets didnt.
> > > is this a bug in the recordset object ?
> > > did i do something wrong ?
> > > what i was realy tring to do is pass 4 recordset's in a single message
,
> and
> > > i thought that if i grouped them togheter to one Hierarchchal
recordset
> it
> > > would work, but since it didnt , if anyone has any idea's about how to
> do
> > > that (transfering the 4 recordsets) i will be very happy to hear from
> you.
> > > Nave Ronen