We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

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

sudha_m_a
sudha_m_a asked
on
Medium Priority
173 Views
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.
Comment
Watch Question

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
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
given.

Please help
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.....

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

Author

Commented:
Thanks it is working,
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.