1 textbox
2 command buttons/buttons
click on the first button, rename it to something cool like "Speech". then double click it and add the code :
Dim SAPI
SAPI = CreateObject("SAPI.spvoice")
SAPI.Speak(TextBox1.Text)
Now, click on the second button, rename it to Exit/Cancel, whatever you want.Then double click it and add the code
EndNow put a textbox right above the 2 buttons and you are done!!
Edited by VBnet, 07 May 2009 - 09:37 AM.
add code tags (the # button)


Sign In
Create Account


Back to top









