Skip to content

Change object URL

G S

Asked Apr 19, 2007, 7:59 AM EDT1 answer
Share
LinkedInX
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.

  • 0

    Have you tried

    AxWindowsMediaPlayer1.URL=listbox.SelecteValue

    Where the selected value in your list box would correspond to the file location?

    0