As already pointed out by Christian, you should NOT code a Windows Service using
VB6
, as stated in
"INFO: Running Visual Basic Applications as Windows NT Services":
Microsoft does not currently recommend, and does not support, running Visual Basic applications as Microsoft Windows NT, Windows 2000 and Windows XP Services because the applications may exhibit unstable behavior when installed and run as Microsoft Windows Services.
(of course '
Visual Basic
' stands for
VB6
or earlier, in the article).
:)