Skip to main content

Computer Trick #1

Make Your Computer Speak 

Whatever You Type




1.Open Notepad and copy and paste the following code into it

Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")

Set sapi=CreateObject("sapi.spvoice")

sapi.Speak message

2.Now save the notepad file with the name speak.vbs at your desktop.

3.Now double click on speak.vbs type in the box whatever you want your computer to speak for you.

Comments

Popular posts from this blog

Multiple Inheritance

Multiple Inheritance In multiple inheritance a class can access the property of more than one class. This inheritance is use for multiple accessing of properties. In multiple inheritance ambiguty is  occured when same name function is declare in both class and the object is confuse with function is called.  syntax − class derived-class: access baseA, access baseB.... Where access is one of public, protected, or private and would be given for every base class and they will be separated by comma as shown above. Let us try the following  example − #include <iostream.h> #include <conio.h>  // Base Class class Shape  {    public:       void getwidth(int w) {          width = w;       }       void getheight(int h) {          height = h;       }           prot...

CODD RULES of RDBMS

Codd’s rules for RDBMS (i)                 The information rule. (ii)              Guaranteed access of   data (iii)            Systematic treatment of null value. (iv)            On line DB support. (v)              Comprehensive sup-language rule. (vi)            The view update rule. (vii)         Insert update rule. (viii)       Physical data independence. (ix)            Logical data independence. (x)              Integrity rule (xi)  ...