Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
OpenFileDialog ofd = new OpenFileDialog();
          ofd.InitialDirectory = @"E:\VEDIO SONGS\";
          if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
          {
              me.Source = new Uri(ofd.FileName);
              me.LoadedBehavior = MediaState.Manual;
              me.Play();
          }
Posted
Comments
Sergey Alexandrovich Kryukov 14-Jun-11 3:20am    
OK, is it a problem? This is not a question.
--SA

1 solution

This will work fine, so I assume you're not asking a question. I have no idea what you're trying to do by posting this.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900