Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
298 B

  1. ' Script shows how to use the script engines hosted by MMC.
  2. Dim doc
  3. Dim snapins
  4. Dim frame
  5. Set frame = MMCApplication.Frame
  6. Set doc = MMCApplication.Document
  7. Set snapins = doc.snapins
  8. snapins.Add "{58221c66-ea27-11cf-adcf-00aa00a80033}" ' the services snap-in
  9. ' Script ends