We detected that the Installer class has no way to set up the description of the Windows service.
Script to monitor folder for new files windows install#
The installer does nothing but to install the Windows service. With some try-and-error debug, I discovered this and the Windows service started to run. I tried to set the Me.timer1.SynchronizingObject property to me (The W.Service) class and this lead me into a terrible error of crashing the stack. In the beginning, I was using the D# IDE which has no facilities to build a Windows service, I had to manually type the definitions for the methods and so. With VB.NET we only inherited from the class and completed the overloaded methods OnStart and OnStop. With VB 6, we tried to build a normal executable and run it against a series of tools (as many articles describe) but none of the tools did the job. Were fascinated with how easy is to build a Windows service with VB.NET. We were convinced that VB.NET had to be the choice for developing the Windows service. Every article, tutorial and code I found used VB.NET, C# or any other. We started to look for some place to find information of how doing this in VB 6, but no success. The easiest way to do this, we thought, was with VB 6. As the files arrive, the solution must unzip the files and overwrite the file content in the same directories. When developing his application in ASP.NET, he needed some way to monitor directory for this special zipped files. The application that generated this solution uploads mdb access files zipped into a file to decrease the size of the data base file, 'cause some of his clients use 56k modem connections. Must run in Win 2K, XP and may be in 2003 server.There is no need to any user to be logged on.A friend, developing an application in VB 6.0 needed a solution with the following requirements: