I didn't make the text to speech thing, instead I used the voice commands to add a speech interface to one of my apps, thanks mate. You earned a subbie :)
Thank You so much for this useful video. but I have a question what if I add a long text to the Textbox and while the program read the text in the middle I want to stop it or pause it not end the program. So what should I do?
First time, I worked with this code, I could hear what I wrote on the textbox... But suddenly it stopped, I can't hear anymore, no sound.
---CODE---
Private Sub ToolStripStatusLabe2_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Dim SAPI SAPI = CreateObject("sapi.spvoice") SAPI.Speak(ToolStripStatusLabel2.Text) End Sub
I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAm BOt OT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VIS
Nice, got it to work better if it's after anyhting else, such as the form backcolor on load. Works great on close as well, SAPI. Speak ("Good Bye")
So I guess, in closing, this Dim Sapi can be used on form load, button click, timer, and on close as well as others I'm sure. Too bad C# voice code isn't nearly as easy. EN you rock!
Form1_load Dim SAPI SAPI = (CreateObject("sapi.spvoice")) SAPI.Speak("Whatever you want to say"
my only issue is that it says the words THEN it shows the form, I would like to do both at the same time so just in case the sound is off they don't think there is a problem with the form.
can we chagne the speed of the voice. Great tut by the way. got it to work in under a minute.
Decided to use a combo box so I could have a few sentences premade for showing it off.
also added a clear button
cboinput.Text = ""
and an exit button Me.Close()
But now I want to have it say things to the teacher on form load. Such as: "I have no idea how to do this!", or "sorry this is late, my virtual dog ate it.".
instead of this fucking loud music, i'd prefer a clear tutorial cause it's not easy to follow the instructions just by following the cursor, many things are not explained ! this is frustrating!
Im pretty new to VB and I have to say I learned more from this little SAPI call than I did from the VB videos. I had a blast with this in writing a microprocessor program. I used it to guide the user in setting the inputs for the MC controller. It worked great.
PLZ HELP ME!! I can't test it this is wat the problem is
Error While trying to run project: Can't load the file or assembly o0marinh0o's computer talker.the given assembly name or codebase is not right (then..) HRESULT: 0x80131047)
You can also use the narrator found in , start>all programs>accessories>accessibility> narrator. Then look for shortcuts to speak and open notepad and type anything. then click the hot key. Then it speaks.
Fantastic.Thanks very much. It's very useful for a program of lecture I'm doing, there's sonly a certain "the program don't answer" during the reading time... do you know why?
This has been flagged as spam show
Hi! Could you guys please check out my channel? I will do a giveaway when I reach 100 subscribers! Thanks!
hackster2011 3 months ago
I didn't make the text to speech thing, instead I used the voice commands to add a speech interface to one of my apps, thanks mate. You earned a subbie :)
BOS6940 10 months ago
TNX>>>>
seniorito15 11 months ago
Works!!
iBypasser 11 months ago
Oh man thanks
HitoriYamanaka 1 year ago
thexx.... work for me :D
MultiAcidi 1 year ago
Check out my vb2008 tutorials on my channel! Full english!
VenomTechTutorials 1 year ago
How to change a country voice ?
Galevozd 1 year ago
Use mine, you'll find itbelow ;) Very easy takes 50 seconds to make :)
liam22800 1 year ago
Works :) TY
00Yasaka 1 year ago
My computer told me to go jump off a cliff. -_-
DarkSoulofDeath1 1 year ago
it did not talk
Soniredoncp 1 year ago
Comment removed
0imoi 1 year ago
@0imoi NOOOOOOOOOOOOOOOOOOOOOOB EPIC FAIL FUCK YOUR STUPID LIFE
Murnificationifyable 1 year ago 9
This has been flagged as spam show
This Relly Works
haws1290 1 year ago
This Relly Works
haws1290 1 year ago
Thank You so much for this useful video. but I have a question what if I add a long text to the Textbox and while the program read the text in the middle I want to stop it or pause it not end the program. So what should I do?
Thanks
Mohamed
00oDaRkAnGeLo00 1 year ago
First time, I worked with this code, I could hear what I wrote on the textbox... But suddenly it stopped, I can't hear anymore, no sound.
---CODE---
Private Sub ToolStripStatusLabe2_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Dim SAPI SAPI = CreateObject("sapi.spvoice") SAPI.Speak(ToolStripStatusLabel2.Text) End Sub
It worked before, but not anymore :/
swc20 1 year ago
OMG dont worry it works now YOU FIXED IT!!!!
TehAnimatorKing 1 year ago
hey can you help me, i cant get it to work on 2010 :(
TehAnimatorKing 1 year ago
Type this in the button1 code
Dim SAPI
SAPI = CreateObject("sapi.spvoice")
SAPI.Speak(TextBox1.Text)
Type this in the button2 code
Me.Close()
zaNNSurfCSS 1 year ago
nice!!!!!!
TheHunranger 1 year ago
Dude, is there another sound? I hate this lady talkiing.
Thebignoobshow 1 year ago
@Thebignoobshow thats how my computer (win 7) is but its male on my win xp
kenny12101 1 year ago
Hey, why all youtubers put songs in their video and they don't know what's the name of the song? So how do you put it, vote up if you agree me.
Thebignoobshow 1 year ago
LoL
Tuggummiponken 1 year ago
Sweet tutorials GOOD JOB DUDE
Quick question though, How do you change the voice?
brent4218 1 year ago
This has been flagged as spam show
can you make it talk MORE LANGUAGES ??????
MpFm007 1 year ago
can you make it talk slower
natboy101 2 years ago
i created a program thats talks to you with this :)
if textbox1.text = "a question" then
Dim SAPI
SAPI = CreateObject("sapi.spvoice")
SAPI.Speak("an ansew")
else
' do nothing
end if
tekriavideos 2 years ago
@tekriavideos because your ment to have
Dim SAPI
SAPI = CreateObject("sapi.spvoice")
SAPI.Speak(TextBox1.Text)
not (if textbox1.text="aqwestion" then and else ' do nothing
MrBlading4ever 1 year ago
thats cool
NPwrestler103 2 years ago
sorry,but,whit is the voice?
boom122808 2 years ago
Comment removed
kaushu400 2 years ago
This has been flagged as spam show
Hey guys, I post vb2008 tutorials, please check out my channel.
Codermind 2 years ago
Great...
Respekt.
Anymore 5* xD
NoRulez96 2 years ago
working in windows 7, good to know tutorial by the way!
gangmember0137 2 years ago
its 100% Working i check that.
XProOwnage1 2 years ago
i need swedish talk :(
NiboRRobiN86 2 years ago 8
me to
klgfa 2 years ago 5
Comment removed
xK3Vx10 2 years ago
@NiboRRobiN86 varför?
Jontecool98 1 year ago
@Jontecool98 kanske för att åäö funkar inte?
NiboRRobiN86 1 year ago
@NiboRRobiN86 oh det. det går nog inte att göra med nån text to speech
Jontecool98 1 year ago
can you change the pich
mlbmills 2 years ago
Sweet!
MagicRevealer09 2 years ago
This has been flagged as spam show
I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAm BOt OT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VISUAL I HAVE A SPAM BOT I MADE IN VIS
XboxGlitchesModsTuts 2 years ago
@XboxGlitchesModsTuts FUCK YOU
TechBoywii 2 years ago
Nice, got it to work better if it's after anyhting else, such as the form backcolor on load. Works great on close as well, SAPI. Speak ("Good Bye")
So I guess, in closing, this Dim Sapi can be used on form load, button click, timer, and on close as well as others I'm sure. Too bad C# voice code isn't nearly as easy. EN you rock!
Pad6 2 years ago
ok so it was easy,
Form1_load Dim SAPI SAPI = (CreateObject("sapi.spvoice")) SAPI.Speak("Whatever you want to say"
my only issue is that it says the words THEN it shows the form, I would like to do both at the same time so just in case the sound is off they don't think there is a problem with the form.
Pad6 2 years ago
try this code
Dim Speech Speech = CreateObject("sapi.spvoice") Speech.speak("welcome") Timer1.Enabled = False
put it in a timer..this code will only be called once, every time the form is loaded..
just add a timer into your form and set its ENABLED property to TRUE and INTERVAL to 1 to
if you have better code just post it..because I,myself, haven't tried this code yet.. :p
pangher0 2 years ago
Okay, two things;
1) You put all the code in one line.
2) It's called the Form1_load event. Adding a friggen timer is a waste of time and space. Just double click on the form and type:
Dim Speech
Speech = CreateObject("sapi.spvoice") Speech.speak("welcome")
bassdude4eva 2 years ago 2
can we chagne the speed of the voice. Great tut by the way. got it to work in under a minute.
Decided to use a combo box so I could have a few sentences premade for showing it off.
also added a clear button
cboinput.Text = ""
and an exit button Me.Close()
But now I want to have it say things to the teacher on form load. Such as: "I have no idea how to do this!", or "sorry this is late, my virtual dog ate it.".
Pad6 2 years ago
bad theme, vista theme to xp, haha...succk
marky2048 2 years ago
instead of this fucking loud music, i'd prefer a clear tutorial cause it's not easy to follow the instructions just by following the cursor, many things are not explained ! this is frustrating!
DeanNirvana 2 years ago 2
thanks. i did myself and all are working properly.
sxme25 2 years ago
Cancel button doesn't work to me,,,
TsopiLordConqueror 2 years ago
it should what do u have 2006 or 2008?
jwb72199 2 years ago
lmao thnx, works great
the voice sounds like the doll in master chief sucks at halo 3
IN4NERD 2 years ago
IN4NERD the voice is microsoft sam... duh lol
henitex 2 years ago
help me -- I Wanna Add a Save File Please Help!!
DavidRockin1 2 years ago
hey great idea! il try that and if it works il send u code =)
jwb72199 2 years ago
yeah i'm now good at vb, just i can make save & open dialogs!! i try to make the coding but it dont work!
DavidRockin1 2 years ago
me 2 =(
jwb72199 2 years ago
lol xD
loiszelf 2 years ago
Thanks alot
aviberko2 2 years ago
I GOT IT!!!
Rustybucketofjunk 2 years ago
It keeps comming up with errors when i try to debug. can you help me?
halo2psp 2 years ago
Nice,
Im pretty new to VB and I have to say I learned more from this little SAPI call than I did from the VB videos. I had a blast with this in writing a microprocessor program. I used it to guide the user in setting the inputs for the MC controller. It worked great.
Thanks
Linkminer 2 years ago
Artist: National Fire Theory
Song: 10,000 Black Eyes
Album: Blackout Days
Time: 03:23
Genre: Alternative & Punk
l0ganwalker 2 years ago
SAPI dosent work with vista
unused local variable (SAPI)
Davidlockejr 2 years ago
It wil say that until you type in
SAPI = CreateObject("sapi.spvoice") I have vista 8)
JCentral227 2 years ago 2
Vista 8 ? you mean 7
VisualDesignFX 2 years ago
The 8 and ) is a smiley.
JCentral227 2 years ago 2
hahaha okeyy=D
VisualDesignFX 2 years ago 2
Who says SAPI doesnt work with vista? well it works for me and all windows operating systems/
zobair007 2 years ago
PLZ HELP ME!! I can't test it this is wat the problem is
Error While trying to run project: Can't load the file or assembly o0marinh0o's computer talker.the given assembly name or codebase is not right (then..) HRESULT: 0x80131047)
o0marinh0o 2 years ago
hmmm... I have never heard of this error before O.o maybe try to re-install Visual Basic 2008 Express
ToysforGuns 2 years ago
woops! ToysforGuns is another account of mine, i forget to sign into this account -_-
environmentalnerd53 2 years ago
@o0marinh0o Wow I wish I had seen this sooner, you have to publish it and test it from the published folder
malletbjm 1 year ago
Can you tell me how to make it say it louder??
jonasrud2 2 years ago
Turn up the volume ...
bedeone 2 years ago
haha sweet! thanks a lot
kibblecat1234 2 years ago
I enjoy making my computer call me a noob.
dimensionsgames 2 years ago
i readed from the description the 2nd key but it didn;t stop talking!!!
TheGuyIsBack23 2 years ago
is there any other voices accept "SAPI"
kyleburles12 2 years ago
it is microsoft sam
and maybe!
yousubmeyougetasub 2 years ago
No It is not I did it & tryed it & it is not ok!
HarryCMather 2 years ago
hehe good work
kidszone23 2 years ago
its text to speech
vb2008helper 2 years ago
thx man awesome im definatley gonna subscribe and favorite
ramiabuhamra 2 years ago 2
ur awesome man!!!! your the god of visual basic
XcomputernerdX 2 years ago
You can also use the narrator found in , start>all programs>accessories>accessibility> narrator. Then look for shortcuts to speak and open notepad and type anything. then click the hot key. Then it speaks.
MysticZ0067 2 years ago
lol i kno
y the thumbs down??
time4blue 2 years ago
do you know how to get mans voice?
CharlyFoulkesVideos 2 years ago
i do :P
H4CkTh3CraCk 2 years ago
awsome it works i added it to my word pad
masterjakguy 2 years ago
NOT WORKS
mikamk123 2 years ago
Fantastic.Thanks very much. It's very useful for a program of lecture I'm doing, there's sonly a certain "the program don't answer" during the reading time... do you know why?
giovannimiao 2 years ago
Is there anyway to slow it down? It is REALLY awsome but it is a little fast.
pugway 2 years ago
Try putting on timer
talkingtreepresents 2 years ago
Comment removed
MysticZ0067 2 years ago
you dont know what song :P
oh...you had to change it??
imback218 2 years ago
mine can find SAPI.speak :S
joler1302 2 years ago
LOL right click in the Toolbox, click Add, search SAPI.
talkingtreepresents 2 years ago
do i need vista?
movnoy007 2 years ago
no way!
TastyTeo 2 years ago
THanks man! Awesome method.
FRENETIC11 2 years ago
camtasia studio 5 or 6 you can download at punkcracks (.) (nl) (.) (nu)
LordTazor 2 years ago
Niceeeeeeeeeeeeeeee, Very cool.
Works Good;
I Like this tuto, thanks very much
iWISHinfected 3 years ago
works Perfectly 5/5 stars! and the people that say it doesnt work are retards and they cant do anything!
googleaki 3 years ago
what did you recorded with?
NICE VID MAN!!
loveAmishParadise 3 years ago
cam studio
its free
ROMEO3144 2 years ago
Camtasia Studio 6 .Not CamStudio
TastyTeo 2 years ago
Thanks!!!
XxXdjburak44XxX 3 years ago
Works!!!
and
Cool
but FAST!!!!!!!!!
Enzo0912 3 years ago
thamks it really work for me
soraxexe 3 years ago
This comment has received too many negative votes show
it doesnt work u fag
heatblast257 3 years ago
thank you for compliments
environmentalnerd53 3 years ago
This program works but just the frist time. then you must close it and start the program again.
THEBUGUSER 3 years ago
that may just be the 'end' code...
clubpenguintutor 3 years ago
lol simple enough
AllTheTutorials 3 years ago
how do i make it say it a bit slower
dudeofgods 3 years ago
in control panel, search for "text to speech"
environmentalnerd53 3 years ago
sorry i mean thank u very much
theprohackerteam 3 years ago
talk u very much
theprohackerteam 3 years ago
How do I save the voice as a wav/mp3 file? Please respond
TomboFry 3 years ago
Get Virus.exe
ILUXONCHIKFILMS 3 years ago
How do i make my PC talk with man voice?
Cuz my talks with women voice!
ILUXONCHIKFILMS 3 years ago
I'm guessing you have Vista. Vista has a default voice of a woman. I don't have Vista though. XP by default is Microsoft Sam.
TomboFry 3 years ago
Yah! iM vista user thx!
ILUXONCHIKFILMS 3 years ago
thanks its not hard at all XD
XBLXxR1fleManxX 3 years ago
Hey nice video.But thats microsoft Sam. lol
thehunnted 3 years ago
works like a treat, ty
ff8addict1 3 years ago
Where did you get that cursor? or pointer or whatever you want to call it :P
KyleakaToastMan 3 years ago
lol, i can put them on mediafire if ya want and send the link to ya. ;)
environmentalnerd53 3 years ago
Saweeet
Wiseguy720 3 years ago
Nice
mani544 3 years ago
Read Discription lol
environmentalnerd53 3 years ago