vb6 executable

Posted on 2008-02-04
Medium Priority
Last Modified: 2013-12-26
I'm new to Visual Basic version 6. I have been asked to create an executable that will select records from a sql2000 table. And based on a datatime field send records via HTTP. This job will be put in the system start task. It needs to check for these records based on a timing factor. The current vb6 has start and stop buttons which requires being logged on and remaining logged on. This job will  be running all the time. Any sugestion? Or even a different source than VB6?
Question by:PStires

Accepted Solution

MichaelHildner earned 1000 total points
ID: 20818068
If you need the application to run continuously without the user being logged in, you can make your application a Windows Service. VB6 cannot create services. IIRC, there is a tool supplied, but not supported by Microsoft that will allow a VB6 app to run as a service. Sorry, it's been a while since I've looked into that.

Another option would be to use .NET, which can create services, or another language that can do the same.

LVL 13

Assisted Solution

jmundsack earned 1000 total points
ID: 20822426
The tool Mike referred to is "srvany" documented here:


It is part of the "Windows NT Resource Kit," which is quite old now, but as of Windows XP srvany still works -- I'm not sure how it will fare on Vista.  Download it here:



Author Comment

ID: 20823027
Thanks Guys,
I will recomend that we write it in .NET. I do not want to use a tool that is not supported.


Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Make the most of your online learning experience.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Simple Linear Regression

601 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