26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(I)What are the steps to create a windows service in VB.<strong>NET</strong><br />

?<br />

Windows Services are long-running executable applications that run in its own Windows<br />

session, which then has the ability to start automatically when the computer boots and<br />

also can be manually paused, stopped or even restarted.<br />

Following are the steps to create a service :-<br />

√<br />

Create a project of type “Windows Service”.<br />

Figure 7.6 :- Create project for Windows Service<br />

√<br />

If you see the class created it is automatically inheriting from<br />

“System.ServiceProcess.ServiceBase”.<br />

147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!