Hamzyah
New member
- Joined
- Jul 7, 2021
- Messages
- 4
- Programming Experience
- 3-5
Hello, I am having problem with getting url path of sound effect from Properties.Resources. When I am working on app for myself it is easy I just copy full file path for example “C:/videos/.....”. But I am working for app that will be used on another computers, and that filepath doesn’t match target computers, so I need to use Properties.Resources.FileName. The file is wav and mp3, and it works when I use SoundPlayer in c#. But I need to use axWindowsMediaPlayer, and when I type axWindowsMediaPlayer.URL = Properties.Resources.FileName; It doesnt work, any solutions please?