Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8164997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:26:17+00:00 2026-06-06T19:26:17+00:00

So I have a script that, when run, plays an audio file which I

  • 0

So I have a script that, when run, plays an audio file which I currently have in the same folder. I would like to consolidate the two of these into a single .exe, but I’m not sure if this is possible or not. Does anyone know specifics on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T19:26:19+00:00Added an answer on June 6, 2026 at 7:26 pm

    The quick and easy way is to:

    1. Open Visual Studios.
    2. Start a new C# project.
    3. Add a new Resources File to the project (open it in the designer if it does not automatically).
    4. Click the “Add Resource” button at the top of the window and select your sound file.
    5. Write code to play the file (I assume the script can be ported to this, let us know if you need help on this). To access the file use Namespace.ResourceFile.FileName where Namespace is the namesapce of the project, ResourceFile is the name of the resource file you added (default is “Resource1.resx”), and FileName is the name of the file you added.

    It will make things easier if after you add the sound file you check the top left button on the window. It will either be “Files” or “Audio” though the window often opens to “Strings”. Make a note of what this currently says so you can switch back to this view later.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file that is created by a script that is run during
I have an MSBuild script that uses NUnit to run tests in two assemblies.
I have this script that run to fix my menu bar to the browser
I have wrote a script that was run from a spreadsheet. I had One
I have a php script that is run once a minute. The script runs
I have a script that may be run manually or may be run by
I have a script that is taking too long to run and I have
I have a complex Powershell script that gets run as part of a SQL
I have a python script that I want always to run in the background.
I have a script that will run on server daily to download data from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.