I'm rather curious about sound effects in windows form, instead of showing messagebox alone, is voice prompt exist in visual studio 2008 -- maybe using an mp3 or wav file?

Recommended Answers

All 5 Replies

Check out the SpVoice object in the Speech API.
You could create a new message box class inheriting from the old one and adding a voice prompt to the Show() method using SpVoice.Speak().

I tried it but the voice sounds weird.. How to change the voice?

Do I really need to populate it in a combo box? I just want to change voice.

Im sorry, what combobox do you refer to?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.