Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2007

Tip: Looking for answers? Try searching our database.

NUB Threading Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Holysmoke - 26 Sep 2007 13:44 GMT
Hi there,

I have to do report generation application which works similar MS SQL Server
Reporting Services. A user add to subscribed scheduling (Daywise, Monthly,
Yearly). I must be able to generate a report for the specific timing.

I think I should do this application as a windows service in .net?!
What are thread classes I should take care of when doing such kind of
applications? Please point some good examples and links.

It would be helpful if you elobrate me with proper steps instead of just
replying.

TIA,
Holy
Peter Duniho - 26 Sep 2007 18:16 GMT
> [...]
> I think I should do this application as a windows service in .net?!
> What are thread classes I should take care of when doing such kind of
> applications? Please point some good examples and links.

Whether you are implementing a service or some other kind of
application, for simple background processing of a task on a different
thread, the BackgroundWorker class is often an excellent choice.

As far as examples and links go, you should be familiar with both
Microsoft's MSDN web site, and Google Groups:

http://msdn.microsoft.com/
http://groups.google.com/

The former has complete documentation of the .NET Framework (among other
things), where you can find the details on the definition and use of the
BackgroundWorker class, including code examples.

The latter is useful for looking up answers that have already been
provided in this and other newsgroups on the same topic.  There are a
number of examples of using the BackgroundWorker class in this
newsgroup, the microsoft.public.dotnet.languages.csharp newsgroup, and
others.

> It would be helpful if you elobrate me with proper steps instead of just
> replying.

You should be able to easily implement your solution using the above
information.  Once you have read the provided references and made an
attempt to do so on your own, if you have specific questions please feel
free to post them here for additional help.  There are already too many
basic examples of using the BackgroundWorker class available for there
to be any point in duplicating that effort here right now.

Pete
Holysmoke - 27 Sep 2007 06:35 GMT
Thank you very much.

> > [...]
> > I think I should do this application as a windows service in .net?!
[quoted text clipped - 32 lines]
>
> Pete

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.