I understood that part. I think I got thrown off when he started talking about ASP.Net. He said he needed to create an ASP.net object, so I starting thinking server. I re-read his orginial post and your right. He doesn't need a server, just a regular object. In fact, he doesn't have to do anything special if he doesn't want to, but what I would do is this.
I would create the object with a method Process and except a datatable and a boolean saying whether to run in new thread or not. Then do the processing in a new thread if the caller asks to, and also fire the events in the calling thread. But he could just do a regular object and let the clients handle the threads and results from the events. -----Original Message----- From: Steve Johnson [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 3:43 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] delegate\event\thread ? > Good question. I was under the impression he wants the processing to > take place on a server and not to tie up the client machine. Yeah, I think we read the post differently ;). He's accepting a pre-populated DataTable, I believe. -- Steve Johnson 3t Systems You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.