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.

20 lines
581 B

  1. set o = Createobject ("FaxControl.FaxControl.1")
  2. if o.IsFaxServiceInstalled then
  3. Msgbox "Fax is installed"
  4. else
  5. Msgbox "Fax is NOT installed - attempting to install"
  6. o.InstallFaxService
  7. if o.IsFaxServiceInstalled then
  8. Msgbox "Fax is installed now!!!"
  9. end if
  10. end if
  11. if o.IsLocalFaxPrinterInstalled then
  12. Msgbox "Local Fax printer is installed"
  13. else
  14. Msgbox "Local Fax printer is NOT installed - attempting to install"
  15. o.InstallLocalFaxPrinter
  16. if o.IsLocalFaxPrinterInstalled then
  17. Msgbox "Local Fax printer is installed now!!!"
  18. end if
  19. end if