Change object URL
Hello,
I have an embedded Windows Media Player on my web page. Upon selecting an item from a ListBox, I would like the media player to play the file associated with their selection from the Listbox. How would I change the URL of the object once I pass it to my C# function?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Yousef27 pointsPosted Apr 20, 2007, 5:10 AM EDT
Have you tried
AxWindowsMediaPlayer1.URL=listbox.SelecteValue
Where the selected value in your list box would correspond to the file location?