Thread: VBscript fun!
View Single Post
  #3 (permalink)  
Old April 17th, 2008, 14:14 PM
rscracker rscracker is offline
Jr. Member

Join Date: Apr 2008
Posts: 187
BRL$: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 36
rscracker is on a distinguished road
Default Re: VBscript fun!

let take example here:

Make the computer talk

strText = "your message here"

Set objVoice = CreateObject("SAPI.SpVoice")
objVoice.Speak strText

for that you need one command button.. double clik it..
and put the code to it.. here the full code

Private Sub Command1_Click()


strText = "your message here"

Set objVoice = CreateObject("SAPI.SpVoice")
objVoice.Speak strText

End Sub

"your message here" that mean you can change it to whatever you want..
and more important, what vb u use.. 6.0?


Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and Earn Money.

Last edited by rscracker; April 27th, 2008 at 10:42 AM.
Reply With Quote