E
Everplay
Guest
I am using Mediaelement in my WPF application . I insert external storage while debugging and want to play a video file from the external storage but I can not but when I Redebug the application i can play. how can i play the file without redebug ,please help me.
Private Sub BrowseFile()
If openfile.ShowDialog = True Then
Try
My.Settings.Path = openfile.FileName
txt_name.Content = openfile.FileName
Catch ex As Exception
End Try
mediaelement.Position = New TimeSpan(0)
slider_due.Value = 0
End If
End Sub
If My.Settings.Path = "" Then
Else
Try
mediaelement.Source = New Uri(My.Settings.Path)
Catch ex As Exception
End Try
End If
Search Results
Web result
Continue reading...
Private Sub BrowseFile()
If openfile.ShowDialog = True Then
Try
My.Settings.Path = openfile.FileName
txt_name.Content = openfile.FileName
Catch ex As Exception
End Try
mediaelement.Position = New TimeSpan(0)
slider_due.Value = 0
End If
End Sub
If My.Settings.Path = "" Then
Else
Try
mediaelement.Source = New Uri(My.Settings.Path)
Catch ex As Exception
End Try
End If
Search Results
Web result
Continue reading...