Visual Basic Scrypt-Where do I get votes? 11-02-2024, 02:47 AM
#1
Hello,
I'm new to the programming world.
I'm just learning the beginnings of BAT, VBS and vb.net.
I have made a VBS scrypt and need help, you know your way around well, I think.
So here is the source code.
Step 1: Creates a text document.
Step 2: Copy the code there.
Step 3: and saves the file as some name of my file.vbs.
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message
The program opens a text box in which you can write something
and the computer then repeats what you have written with the voice of "sapi" as you can see in the source code.
Now I would like to have another voice or several to choose from or add some.
How do I do that and where do I get the votes?
I'm working with Visual Studio 2019.
I ask for help, I don't know my way around well
and don't know what I would have to write on Google or ChatGTP about this matter.
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
I'm new to the programming world.
I'm just learning the beginnings of BAT, VBS and vb.net.
I have made a VBS scrypt and need help, you know your way around well, I think.
So here is the source code.
Step 1: Creates a text document.
Step 2: Copy the code there.
Step 3: and saves the file as some name of my file.vbs.
Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message
The program opens a text box in which you can write something
and the computer then repeats what you have written with the voice of "sapi" as you can see in the source code.
Now I would like to have another voice or several to choose from or add some.
How do I do that and where do I get the votes?
I'm working with Visual Studio 2019.
I ask for help, I don't know my way around well
and don't know what I would have to write on Google or ChatGTP about this matter.
(This post was last modified: 11-02-2024, 02:49 AM by Shnuff.)