Could I write a program to start or stop SMSC or MMSC service ?

Could I write a program to start or stop SMSC or MMSC service ? SearchSearch
Author Message
Stanley So
Unregistered guest
Posted on Monday, December 22, 2003 - 03:59 am:   

Dear all,

I would like to write a program to start or stop the SMSC or MMSC service, instead of human work. Is it possible to do that ?

If yes, any recommandation to write. I am using .NET, I tried to start of stop a process. It works. However, I heard that NowSMS implements window service. I have no idea to do this. Could anyone give me advice ?

Many Thanks....

Best Regards,
Stanley So
Hong Kong
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1440
Registered: 10-2002
Posted on Monday, December 22, 2003 - 09:49 pm:   

Stanley,

I'm not sure of the .NET specifics, but from a command line, you can issue the following commands to stop an active service:

NET STOP NOWSMS
NET STOP NOWMMSC

And the following commands to start an inactive service:

NET START NOWSMS
NET START NOWMMSC