[Guide] Visual Basic 2008 - How to make a Text to Speech menu

User Tag List

Results 1 to 6 of 6
  1. #1
    omg_lol's Avatar Member
    Reputation
    25
    Join Date
    Dec 2008
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide] Visual Basic 2008 - How to make a Text to Speech

    1. Start by making a new project by going to (File > New Project) and then click Windows Form Application and for the name type Text to Speech.

    2. Next double click your form anywhere and type in
    Code:
            Dim SAPI
            SAPI = CreateObject("sapi.spvoice")
            SAPI.Speak("Welcome to Speech")
    This will make your program say Welcome to Speech when it opens, it will literally say it.
    4. Now drag a text box and 2 buttons.
    5. In the properties window of button one, make it say 'Speak' for the text.
    6. Make button 2 say 'Close' and then double click it and type in: me.close()
    7. Double click button one or the 'Speak' button and type in
    Code:
                Dim SAPI
                SAPI = CreateObject("sapi.spvoice")
                SAPI.Speak(TextBox1.Text)
    8. Press F5 and type something in your text box.
    9. Click your 'Speak' button and it should say what you wrote.
    Heres the what the code should look like for button one

    Code:
    PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim SAPI
    SAPI = CreateObject("sapi.spvoice")
    SAPI.Speak(TextBox1.Text)
    EndSub
    
    OMG LOL

    [Guide] Visual Basic 2008 - How to make a Text to Speech
  2. #2
    Emuchild's Avatar Member
    Reputation
    56
    Join Date
    Oct 2007
    Posts
    311
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looking good, how can I make it so that it'll read off a PDF and I can stop, fast forward, etc. to the speech?
    Tired of proxies not working or timing out?
    TEST THEM BEFORE YOU USE THEM!
    https://www.mmowned.com/forums/general-programs/246775-testmyproxies.html :wave:

  3. #3
    omg_lol's Avatar Member
    Reputation
    25
    Join Date
    Dec 2008
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Emuchild View Post
    Looking good, how can I make it so that it'll read off a PDF and I can stop, fast forward, etc. to the speech?
    Hmmm....I dunno...Apoc or Clain would probably be your best bets to help you.
    OMG LOL

  4. #4
    Emuchild's Avatar Member
    Reputation
    56
    Join Date
    Oct 2007
    Posts
    311
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I mean I'm not a TOTAL noob at programming(imo), I have tested some things, tried some things, really nothing. Thanks though for the TTS script. +REP
    Tired of proxies not working or timing out?
    TEST THEM BEFORE YOU USE THEM!
    https://www.mmowned.com/forums/general-programs/246775-testmyproxies.html :wave:

  5. #5
    DarkGuardDK's Avatar Member
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool, haven't tested, because i got no use for it atm.

  6. #6
    makis5's Avatar Member
    Reputation
    2
    Join Date
    Sep 2008
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool!!Thanks +rep

Similar Threads

  1. Replies: 73
    Last Post: 10-21-2010, 08:55 AM
  2. Sams Teach Yourself Visual Basic 2008
    By ClubbS in forum Programming
    Replies: 4
    Last Post: 01-30-2009, 10:48 PM
  3. [RELEASE] Visual Basic 2008 Codes
    By EmiloZ in forum Programming
    Replies: 25
    Last Post: 01-03-2009, 06:13 AM
  4. The GM Basic Spells. (How to make YOURSELF look proffesional!)
    By Bane. in forum WoW EMU Guides & Tutorials
    Replies: 58
    Last Post: 12-20-2007, 11:58 PM
All times are GMT -5. The time now is 09:50 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search