Create a new VB6 project, then add Five controls into the Form1. 3 buttons , 1 listbox, 1  text box. all use default name, copy the code below , then press F5 to run the app. then you will see the result. user can modify the name then control the status of one services. 

tested in Windows XP sp2, works fine. 

Notes: If you want to transfer this article to another place, plz refer the original URL, 
http://nickong.cnblogs.com . Thanks. :)
  

相关文章: