I need to execute some threads that load items into my APPLICATION object. I
haven't figured out how to do that when I fire off a thread on a page, that
takes its time and loads data into the APPLICATION level object which will
be used later. Here is an example code I've used to fire it off.
Dim pclsUserService s As clsUserServices = New clsUserServices
Dim pobjUserService s As Thread
pobjThread100 = New Thread(New ThreadStart(Add ressOf
pclsUserService s.Initialize))
pobjUserService s.Start()
pobjThread100.S tart()
What I need to do int he Initialize example here, it so actually load some
data into the APPLICATION object. When I try to do this in the CLASS, I
noticed that the APPLICATION object is not supported. Any ideas on how to
accomplish this?
haven't figured out how to do that when I fire off a thread on a page, that
takes its time and loads data into the APPLICATION level object which will
be used later. Here is an example code I've used to fire it off.
Dim pclsUserService s As clsUserServices = New clsUserServices
Dim pobjUserService s As Thread
pobjThread100 = New Thread(New ThreadStart(Add ressOf
pclsUserService s.Initialize))
pobjUserService s.Start()
pobjThread100.S tart()
What I need to do int he Initialize example here, it so actually load some
data into the APPLICATION object. When I try to do this in the CLASS, I
noticed that the APPLICATION object is not supported. Any ideas on how to
accomplish this?
Comment