error in sound file in setup application..Please help





    I want to make a setup application to my project but it is contain a sound by using the following function




    When I use puplish wizard to create a setup application the sound is not work and give me the following error:


     "Unhandled exception has occurred in your application. Please be sure a sound file exists at the specified location" 


    I don't know what should I do?

    Can you help me please?



    Friday, February 15, 2008 2:47 AM


  • Hi,

    You can add 1_20.wav to your project and set wav file's property in solution explorer. Build action: content. copy to output directory: always. In publish page, click Application files-> Publish status: Include. Download Group: required. Then wav file will be copied to the folder of executation file.

    Best regards,
    Tuesday, February 19, 2008 10:52 AM