Specify command line for application while creating service using SRVANY.EXE

739 Views Asked by At

I am creating service in VB6 application using SRVANY.EXE as show in this link . But my application requires a command line to work.So if i want to pass command line to my application then what to do? The command line is fixed and not change. So how it can be given while creating service?

1

There are 1 best solutions below

0
vbguyny On

I use these exact steps at work to create a service for my VB6 apps. However I have the path in step 15 to be a batch file (.bat file) that they runs the VB6 app with the required arguments.