Results 1 to 2 of 2

Thread: Midi Imbedded In Form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    121

    Midi Imbedded In Form

    How would I intergrate a midi file in the .exe program?

    Right now the program has to access @"c:\windows\midi.mid" so there is two files a .mid and a .exe.

    Im trying to make only one file which would be a .exe.

    Im guessing that I would add a midi to Resources but a midi is not a choice.
    How do I access it after I add it? Or am I going about this completely wrong.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Midi Imbedded In Form

    I believe that you can add sound files to a resource file using Resourcer, although I've never done it myself. I've been assured that it can be done with WAVs so I'd guess MIDIs would be the same. The easy alternative, though, is to just add the file to your project than set its Build Action property to Embedded Resource.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width