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

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -