Advertisement
7_2009-2012 Custom Controls/ Forms/ Menus #234749

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

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 PSC 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 PSC.) 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!

AI

Ringkasan AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kode Sumber
original-source
Upload
Komentar Asli (3)
Dipulihkan dari Wayback Machine