Under Windows XP I invoked Cscript.exe passing it the script shown below to deactivate Outlook.
Dim oAppOL
set oAppOL = GetObject(, “Outlook.Application”)
oAppOL.Quit
set oAppOL = Nothing
It worked fine. Doing the same thing under Vista produces the following error: “Microsoft VBScript runtime error: ActiveX component can’t create object: ‘GetObject'”. I don’t know the script language; I copied it from a magazine. Can anyone tell me how to correct whatever is wrong?
John Littell