You must Sign In to post a response.
  • Category: ASP.NET

    Regarding website and sound

    I have created website in visual studio 10. now i want that if some one open it there is a sound comes with company name. for an example if my company name is XYZ than it will be like Welcome to XYZ.
    how can I do this?
  • #749245
    You can use.NET library "System.Speech.Synthesis" for this.

    SpeechSynthesizer Class

    Examples and tutorials.

    Nirav Prabtani (Senior Web Developer)
    Email :
    blog :

  • #749254

    You can use the: "System.Speech.Synthesis"

    You can visit the following urls for more details regarding the same:-



  • #749260
    Thank you both of you for your reply , but I want speech for WEB APPLICATION NOT FOR WINDOWS FORM APPLICATION

  • #749388
    Hello Parth,

    The below code is working fine.

    You can put the content in label control at page load event. It will sing when some one open your site. To achieve it you have to add "Microsoft Speech Object Library" in Com reference tab. And use the below name space in your aspx page.

    using SpeechLib;

    protected void Page_Load(object sender, EventArgs e)
    SpVoice speechvoice = new SpVoice();



    Gopi A.
    +91 9894315571

  • Sign In to post your comments