I've made a VB6 service program based on the code I found here:


I've got the service up and running (I'm continously logging and saving to a .txt file atm) but I've run into a problem when using shell inside the service. It seems that I'm unable to run a shell command within the service, nothing really happens when the code gets to that point. I can see in my logs that I've done everything up to that point but the service just skips the shell command all together and then continous with the other code and starts over again.

So my question is how do I activate a .exe (with parameters) from a service if shell doesn't work (or is there a way to make shell command work)?