URGENT ! How to convert my VB application as a System service

Posted on 2006-03-20
Last Modified: 2010-05-01
I need to run my VB  application as a service. It has to run all the time from windows startup without need to any user being logged on.
Its urgent so please respond ASAP.
Question by:sudha_m_a
    LVL 6

    Accepted Solution


    Author Comment

    WEll I already tried the  srvany and instsrv way. But the service says it is started but I do not see it in the process list?  Alos the exe has a form which I hide it. Does it have anything do with my application not being shown? I did not write any code in my exe though. Just followed the steps

    Please help
    LVL 9

    Expert Comment

    by:Naveen Swamy
    LVL 6

    Expert Comment

    I'm not sure if your hidden form is having any effect ... if your service doesn't need a GUI then make it a console app and start from Sub Main.  I do know that there are additional settings for services that need to interact with the desktop.

    One other thing that may be hiding your service from the process list ... if you used instsrv it is possibily running under the SYSTEM account rather than your login account and processes owned by System are hidden in your proclist.....
    LVL 26

    Expert Comment

    may be try to put on task schedler and run when the machine starts

    Author Comment

    Thanks it is working,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    Port V2 16 35
    Opening Remote & Local Data Connection 2 32 2008 2 39
    Macro: print each sheet to pdf using ExportAsFixedFormat 11 25
    Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now