i have written a windows service should open notepad automatically every 5 seconds. But the notepad is not opening. The following is my code.
using
namespace
{
InitializeComponent();
}
EnableTimer();
timer1.Enabled =
timer1.Start();
processNotePad.StartInfo.FileName =
processNotePad.Start();
after building the code, in the command prompt i am installing the service and in the Services window pane my service is getting displayed, when i right click and choose the option "Start" nothing is happening.