Check your PC "Male" or "Female" using VB language

by Rakesh on January 12, 2013

In this post I will tell you about how to check your computer “male” or “female”?

Though it sounds very sound very crazy but this is genuine and technically based on visual basic script language. So to check “male” or “female” follow the given steps:

  1. Open Notepad
  2. Type the following line in notepad:CreateObject(“SAPI.SpVoice”).Speak”Hello rakesh”
    CreateObject(“SAPI.SpVoice”).Speak”Hope you are fine”
    CreateObject(“SAPI.SpVoice”).Speak”So today I want to say that”
    CreateObject(“SAPI.SpVoice”).Speak”I love you”
    CreateObject(“SAPI.SpVoice”).Speak”Now Ansh its your chance to say those three magical words”
    CreateObject(“SAPI.SpVoice”).Speak”I am waiting to hear from you”
    CreateObject(“SAPI.SpVoice”).Speak”please say na i love you”

    *you can replace rakesh with your name in above code.

  3. buy levitra online no prescription

>Save file as computer_gender.vbs

  • Run the file. .
  • If you hear a male voice, your pc is a boy 🙂

    If you hear a female voice, your pc is a girl…..

    Technical Information Behind the Script :

    • it is an VBScript file(ends with the extension *.vbs)
    • creating a object for the class(SpVoice)
    • SAPI–Speech Application Programming Interface, Created by Microsoft and Used as a Standard library (dll file) in Windows Operating Systems.
    • SAPI-is a DLL file, base class for speech recognition and even for text to speech and speech to text conversion.
    • Here object of SpVoice is created then standard library SAPI is included.
    • the VBS file have the support to run even from windows 2K Operating Systems.
    • Speak is a function allows to pass the string values as argument, inside the quotes whatever the string we give your machine default voice will speak that. These arguments are passed to speech engine voice, this engine will speak it.
    • By default we have Microsoft Sam as speech engine voice. Speech engine voice means the voices of male and female we hear.

    Comments on this entry are closed.

    Previous post:

    Next post:

    Güncel Haberler