Results 1 to 3 of 3

Thread: How to create windows service using windows form common control?

  1. #1
    jayawant is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5
    Join Date
    Apr 2011
    Posts
    21
    Reputation
    76

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

    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

  2. #2
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    13,814
    Reputation
    1707
    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.

  3. #3
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    13,814
    Reputation
    1707
    Quote Originally Posted by malik125 View Post
    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?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •