C
Cindy H
Hi
I'm using visual studio.net 2003 - vb.net
I have a window media player object inserted in html code of aspx form.
I would like the user to be able to pick a song from a listbox and then this
would start the media player with that song.
In the SelectedIndexChange event for the listbox I am trying to pass the
song path to the media player using this code:
windowsmediaplayer1.URL = vSongPath
I'm getting the following error when it hits this code:
Object variable or With block variable not set.
Does any one know how I could fix this?
Thanks in advance,
CindyH
I'm using visual studio.net 2003 - vb.net
I have a window media player object inserted in html code of aspx form.
I would like the user to be able to pick a song from a listbox and then this
would start the media player with that song.
In the SelectedIndexChange event for the listbox I am trying to pass the
song path to the media player using this code:
windowsmediaplayer1.URL = vSongPath
I'm getting the following error when it hits this code:
Object variable or With block variable not set.
Does any one know how I could fix this?
Thanks in advance,
CindyH