[Help] Coding Stickey notes and Text to speech menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Anthonyrox8's Avatar Banned
    Reputation
    34
    Join Date
    Aug 2007
    Posts
    296
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Coding Stickey notes and Text to speech

    Hey i need help coding sticky notes for vb 2008 or vb6 Pref 2008 ive tried googleing and found nothing this is what it should do

    Also i need a text to speech thing for my program and the code for vb6 wont work and i dont no how to translate. here it is
    Code:
    Private sub command1_click()
    Set objTextToSpeech = createObject ("SAPI.spvoice")
    ObjTextToSpeech.speak text1.text
    End sub

    [Help] Coding Stickey notes and Text to speech
  2. #2
    OMGPanic!'s Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For the voice:

    Code:
    Private Sub talk(ByVal str As String)
    Dim oVoice As New SpeechLib.SpVoice
    Dim cpFileStream As New SpeechLib.SpFileStream
    
    'Set the voice type male or female and etc
    oVoice.Voice = oVoice.GetVoices.Item(cmbVoices.SelectedIndex)
    
    'Set the voice volume
    oVoice.Volume = trVolume.Value
    
    'Set the text that will be read by computer
    oVoice.Speak(str, SpeechLib.SpeechVoiceSpeakFlags.SVSFDefault)
    oVoice = Nothing
    End Sub
    To use:
    Code:
    talk(String Speach)
    Moved house and now have limited internet access. Cant work till its back. STRESSED.

  3. #3
    Anthonyrox8's Avatar Banned
    Reputation
    34
    Join Date
    Aug 2007
    Posts
    296
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ty rep 2+ yyayay

  4. #4
    OMGPanic!'s Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Id try and help with the actual sticky keys aswellbut that will take away from your fun.
    Get working on it and if you need, repost with your source and i'll give you a hand.
    Moved house and now have limited internet access. Cant work till its back. STRESSED.

  5. #5
    Anthonyrox8's Avatar Banned
    Reputation
    34
    Join Date
    Aug 2007
    Posts
    296
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    did u get my last 2 messages lol , im not realli sure what to do with ur code all im getting are errors when i put it under a button command have u got teamviewer maybe u can look at it ?

  6. #6
    Anthonyrox8's Avatar Banned
    Reputation
    34
    Join Date
    Aug 2007
    Posts
    296
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeh text to speech isnt working for me maybe i did it wrong using the code above but getting alot of errors

  7. #7
    OMGPanic!'s Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I could code it for you but i dont like working on stuff that may take over 15 mins for free
    Moved house and now have limited internet access. Cant work till its back. STRESSED.

  8. #8
    Anthonyrox8's Avatar Banned
    Reputation
    34
    Join Date
    Aug 2007
    Posts
    296
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just one question is that code in vb6? or vb 2008 and is there only one vb 2008 version caz that could be the problem i got VB 2008 express edition

  9. #9
    OMGPanic!'s Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    VB 2008, works with any edition.
    Moved house and now have limited internet access. Cant work till its back. STRESSED.

  10. #10
    Garosie's Avatar Active Member
    Reputation
    18
    Join Date
    Jul 2007
    Posts
    68
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol u shouldnt copy his to a button, when u write at a button, it says "Private Sub button1(blblalbalbla)" or something. that one is to the"talk"becourse its "Private Sub Talk" u cant make hes command for a button.

  11. #11
    OMGPanic!'s Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You define the subroutine then call it from the button.
    Moved house and now have limited internet access. Cant work till its back. STRESSED.

Similar Threads

  1. text to speech hand held? (please help)
    By elliotps932 in forum Community Chat
    Replies: 0
    Last Post: 11-16-2007, 10:22 PM
  2. Need help editing itemcache.wdb and sword position
    By Kaiderai in forum World of Warcraft General
    Replies: 2
    Last Post: 09-06-2007, 05:28 PM
  3. I really am desperate for help regaurding my ports and real wow
    By vivec45 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 08-31-2007, 05:11 PM
  4. Help, codes!
    By tyza in forum World of Warcraft General
    Replies: 0
    Last Post: 06-18-2007, 09:06 PM
  5. PLZ HELP: grand masrshal shiv and grandmarshal shanker------->thunderfury
    By srpskagarda in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 03-08-2007, 04:38 PM
All times are GMT -5. The time now is 10:57 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