<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Argh. Can someone explain how a VB program could be a Windows Service?' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Argh. Can someone explain how a VB program could be a Windows Service?' posted on the 'Visual Basic' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sun, 26 May 2013 01:27:52 -0700</pubDate>
    <lastBuildDate>Sun, 26 May 2013 01:27:52 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Argh. Can someone explain how a VB program could be a Windows Service?</title>
      <link>http://www.programmersheaven.com/mb/VBasic/428864/428864/argh-can-someone-explain-how-a-vb-program-could-be-a-windows-service/</link>
      <description>First, thanks for viewing my thread.  Let me try to explain what I'm doing, what I've done, and how my brain thinks it works.  I do know how to program in VB, that's not the issue.  The .exe IS written, it's done and works perfectly as a standalone .exe&lt;br /&gt;
&lt;br /&gt;
What I'm trying exactly to do is this: The program I've written constantly refreshes itself and updates a certain bit of information elsewhere, and I'm trying to not have to run it as a program on my computer, but have it be a service on a server running all the time.  It's a good idea in theory, but:&lt;br /&gt;
&lt;br /&gt;
1. I know how to create and start the service.  It IS running.  I can see it running in Task Manager.&lt;br /&gt;
2. I think the problem is that I just don't understand what makes a service a service, and not a "program".&lt;br /&gt;
&lt;br /&gt;
See the thing is, the program I've written runs on autopilot.  It requires no user interaction, but it does have a window and a display listbox.  I've toyed around with making the form invisible, (me.visible = false) on Form_Load.  Also in the control setting itself.  That doesn't seem to help.  I'm telling the service to interact with the user desktop, but all it's doing is saying a service wants to interact with my desktop, and then still not doing what I'm telling it to do.&lt;br /&gt;
&lt;br /&gt;
Let's try to ask this another way:&lt;br /&gt;
&lt;br /&gt;
Assuming I can make a program a service, what MAKES it a service that requires no user interaction?  Even if it's invisible, it's not doing what I want it to do.  It's NOT running the code at all.  I figured maybe I could create a new VB project and just, you know, have NO forms or something... but then there's no where to program.  So that's not it.&lt;br /&gt;
&lt;br /&gt;
Assuming I know how to make the program, and make the service, and activate the service... What in the world am I missing?  What vital bit of information is stopping this from running like a program, but as a service??&lt;br /&gt;
&lt;br /&gt;
Thanks, and sorry for the long post!!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBasic/428864/428864/argh-can-someone-explain-how-a-vb-program-could-be-a-windows-service/</guid>
      <pubDate>Wed, 20 Jun 2012 07:16:43 -0700</pubDate>
      <category>Visual Basic</category>
    </item>
  </channel>
</rss>