Results 1 to 3 of 3

Thread: [RESOLVED] resource file

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    499

    Resolved [RESOLVED] resource file

    i have added a audio resource file to the application, how would i play the file using the soundplayer in vs2005 ?

    thanks.

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

    Re: resource file

    Search on MSDN2 for "soundplayer resource" (without quotes) and you'll find a help topic dedicated to exactly that. I don't want to discourage people from using this forum but please use the obvious resources first.
    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

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2005
    Posts
    499

    Re: resource file

    I do understand where you are coming from but i did check out my help files but my problem was i didnt know how to load the actual resource file, anyway i have sorted it but i ended up using this instead of the soundplayer.
    VB Code:
    1. My.Computer.Audio.Play(My.Resources.alarm, AudioPlayMode.BackgroundLoop)

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