Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36993

Forum Post: Sage ERP 100 2014 Advanced

$
0
0
I am getting an error ActiveX component can't create object when running a script on a workstation.  I installed SAPI Voice on the server and I do not get an error.  Even a script not running through Sage on that workstation gets an Error 88 Activex component cannot create object.  They want a noise, not a message box under certain conditions.  That part of the script works, just not the sound or voice.  Thank you in advance. Set Voice = CreateObject("SAPI.SpVoice") Words = InputBox("What do you want me to say?") Voice.Speak(Words) or strSoundFile = "C:\windows\Media\Notify.wav" Set objShell = CreateObject("Wscript.Shell") strCommand = "vmplayer /play /close " & chr(34) & strSoundFile & chr(34) objShell.Run strCommand, 0, False Wscript.Sleep 1000 Msgbox "Hello"

Viewing all articles
Browse latest Browse all 36993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>