VBorDeliver
Programmer
Hi!
I have been looking at running my VB6 app as a service and have come across 2 methods. One using the Microsoft 'ntsvc.ocx' and the other using API calls.
I have looked at the ocx control which looks by far the easiest but can't get the sample program to work on my Windows 2000 Pro workstation. The service installs and uninstalls OK but does fails to start (Event ID 1). I have an example using API calls that works but looks very complex.
Which is the best method to use that works on both NT and 2000 machines?
I have been looking at running my VB6 app as a service and have come across 2 methods. One using the Microsoft 'ntsvc.ocx' and the other using API calls.
I have looked at the ocx control which looks by far the easiest but can't get the sample program to work on my Windows 2000 Pro workstation. The service installs and uninstalls OK but does fails to start (Event ID 1). I have an example using API calls that works but looks very complex.
Which is the best method to use that works on both NT and 2000 machines?