Infamous Sound

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deluxe flame
    New Member
    • Nov 2006
    • 6

    Infamous Sound

    I've been reading up on how to insert sound into a program,. but I just can't understand it.
    For example:
    I have a sound file saved on my desktop, My program is C# Windows Game, a basic alien shooter. When the user hits the space bar and fires, I'd like to run the sound file, whether it be inserted in the resources or not. which ever works.
    I'll insert my code if need be.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Moving this to the .NET forum.

    Comment

    • Deluxe flame
      New Member
      • Nov 2006
      • 6

      #3
      Yeah thanks for the help guys -_-
      Luckily I solved it myself

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Your message musta got lost. A lot of people post a lot of questions.

        I am fairly certain that you need to use a DLLImport to play the sounds. It's pretty simple, a quick google search woulda given you all you needed.

        Comment

        Working...