var VoiceObj = new ActiveXObject("SAPI.SpVoice");
The issue i have is when i run it with no IE security changes i get "Automation server can not create object".
By further investigation i have found by enabling "Initialize and script ActiveX controls not marked as safe for scripting" in custom security settings / IE the script works fine.
I have found a non p2p forum posting which indicated that the scripting environment should be either HTA or WSH to combat the issue but have not found any working examples.
Has anyone got a better understanding of the two environments where SAPI.SpVoice has been integrated correctly.