I have a small application that connects to an Access database using ADO and runs a query to update a field in one of the tables. The program has no user interface so I wrote it completely in Module1.bas, starting in Sub Main. I'm calling it from the Windows task scheduler on an hourly basis. I would like to add a timer control to make the program run the query on its own using a configurable delay, and maybe at some point rewrite it to run as a service using the NTSVC.OCX control.
Is there any way I can add a control to a module like this?
Is there any way I can add a control to a module like this?