VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Windows NT-2K-XP-Vista Service Control : Create your own web server, proxy, firewall and more

by CentralWare Development Centers (1 Submission)
Category: Custom Controls/Forms/Menus
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

Turn your VB5/6 Application into a WINDOWS SERVICE that can run in the background without you even logging into your computer - just like Anti-Virus applications do!


Enclosed are two demonstrations of what you can do... one being a CPU monitor (mainly to show you how to interact with services using the MS Windows Service Manager) and the second being a very simple web server - BOTH projects are from VBC and were mildly updated to become services! (See the enclosed README for author credits and links.)


Included with this project is the source and compiled control (Again, see the README for instructions.) The source for the VB projects should be rather straight-forward (the sections where we've added service control are commented - the 3rd party apps; please see their postings here at VBC.)


Q: Why do I need a custom control to create services within VB?

A: Visual Basic (prior to .NET) has no ability for VB to communicate properly with the Windows Service Manager on a stable framework. Worse yet, for those of you accustomed to using NtSVC from Microsoft years ago you've found that it crashes when you try to use sub-classing in your application.


Control Source: Basic image files and such have been removed to ensure the smallest possible download. Should you wish to re-create the sources, see the resource file for the file names of the images needed and create your own!

Assumes
Read the enclosed README.TXT file for complete details.
API Declarations
TONS! See sources for the list.

Rate Windows NT-2K-XP-Vista Service Control : Create your own web server, proxy, firewall and more

Download Windows NT-2K-XP-Vista Service Control : Create your own web server, proxy, firewall and more

Download Windows NT-2K-XP-Vista Service Control : Create your own web server, proxy, firewall and more (68 KB)

Windows NT-2K-XP-Vista Service Control : Create your own web server, proxy, firewall and more Comments

No comments have been posted about Windows NT-2K-XP-Vista Service Control : Create your own web server, proxy, firewall and more. Why not be the first to post a comment about Windows NT-2K-XP-Vista Service Control : Create your own web server, proxy, firewall and more.

Post your comment

Subject:
Message:
0/1000 characters