Debug a Service project?

Posted on 2013-01-03
Medium Priority
Last Modified: 2013-01-03
I have a windows form application. I want to schedule it to run every hour. I'm creating a Service Project and copying/pasting everything from the win-form application into the service project. This is because I can't debug/run a service project from VS IDE. I get a msg that it can't be debugged...

Is there anyway to debug and step thru a service project?
Question by:Camillia
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 38740281
What do you mean by "service project?" Is this a Windows Service, or a web service?
LVL 71

Accepted Solution

Éric Moreau earned 2000 total points
ID: 38740574
why don't you keep your project as a Windows forms app and schedule it to run every so often? check http://emoreau.com/Entries/Articles/2008/11/Passing-arguments-to-an-application-startup.aspx

Author Comment

ID: 38740604
service project...that's what i mean.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question