Set X = Sched.GetSchedules(cboClients.ItemData(cboClients.ListIndex))
For Each SchedItem In X 'The error occures here sometimes
Anyone know what can cause this. GetSchedules is just a function that
returns a collection object from MTS. X is a collection object type.
Thanks,
Kip
I had the same problem myself until I decided to include the typelibrary
inside the DLL completely instead of external.
However, I was not using the collection object but a variantdictionary
object. It had the same enumerator (for ..each) support problems.
try to run the object in-process.
--
Egbert Nierop
Session management for webfarms:
http://www.nieropwebconsult.nl/asp_session_manager.htm
"Kip Fryman" <k...@NOSPAM.com> wrote in message
news:#4urbkx1AHA.1548@tkmsftngp02...
That is very limited. I thought MTS was supposed to handle this type of
business object senario.. How then else would you return a whole bunch of
data without using a collection (parent/children)..
Does this mean you would have to return a recordset? Which is what I believe
in the documentation to be used as a last resort..
Did you get the same errors as me?.. Mine works sometimes though.
I wonder if a For i = 1 to x.count would be better??
"Egbert Nierop" <egbert...@nospam.com> wrote in message
news:eSsfpSH2AHA.1416@tkmsftngp03...