We take pride in your success. We let our positivity drive us, day in and out. Talk to us at Mindfire to know us more.

Software Technology Tips

This tip demonstrates how to use SAPI for Text-To-Speech capability in VB Script

BlankDim message,sapi
message=InputBox("Write something in textbox","Hemant :)")
set sapi = CreateObject("sapi.spvoice")
sapi.Speak message


copy this code to notepad and save it .vbs extension(for e.g. hemant.vbs)


After making a vbs file just double click on that file and type anything you want in the textbox, click ok and listen.


Related Tags:

SAPI, VB Script

Author: Hemant Mishra

top

Related Pages

  • Visual Basic Development Expertise
  • VB Development Projects

Miscellaneous

Let us Connect!

privacy

copyright (c) Mindfire Solutions 2007-2012. Login