amrit0965 (12-15-2012)
its quite simple really
add this code to a button, with a textbox named "textbox1"
or change "textbox1.text" to your desired text, and use it on a button or on form load.
Code:Dim Speech Speech = CreateObject("sapi.spvoice") Speech.Speak("textbox1.text")
amrit0965 (12-15-2012)
lol i found a wrong thing
you did
Dim Speech
Speech = CreateObject("sapi.spvoice")
Speech.Speak("textbox1.text")
i need to be
Dim Speech
Speech = CreateObject("sapi.spvoice")
Speech.Speak(textbox1.text)
without the "" by speech.speak
amrit0965 (12-15-2012)
sorry :P
was trying to help