Question How to create windows service using windows form common control?

jayawant

Member
Joined
Apr 25, 2011
Messages
21
Programming Experience
1-3
Hi all,

It is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.
The windows forms control such as, Timer control, list-box, notify-icon control etc.

Thanks,
Jayawant
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,124
Location
Sydney, Australia
Programming Experience
10+
A Windows service doesn't have a UI, so using controls makes no sense. I think you need to have a think about what you actually need from this application and whether a Windows service is appropriate.
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,124
Location
Sydney, Australia
Programming Experience
10+
It is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.
The windows forms control such as, Timer control, list-box, notify-icon control etc.
Firstly, Timer and NotifyIcon are not controls. Using a Windows.Forms.Timer in a Windows Service doesn't make sense because it's not a Windows Forms app, but you can use a Timers.Timer.

Secondly, how would you use a ListBox in an application that has no UI? Do you know what a Windows Service actually is and does? If so then please explain how you envision using a ListBox?
 
Top Bottom