vbscript - VBS automation support error -
i created vbscript add signature active directory user , few user error:
line: 216 char: 1 error: class doesn't support automation code: 800a01ae
i tried register msscript.ocx
, dispex.dll
, vbscript.dll
, scrrun.dll
, , urlmon.dll
, still have same error. code part:
dim objword, objemailoptions, objsignatureobject set objword = createobject("word.application") set objemailoptions = objword.emailoptions set objsignatureobject = objemailoptions.emailsignature objsignatureobject.newmessagesignature = "lietuviskas signature" objsignatureobject.replymessagesignature = "lietuviskas reply"
216 line is: objsignatureobject.newmessagesignature = "lietuviskas signature"
i dont see problem in code. think windows.
Comments
Post a Comment