M
Miles
Hi:
I am trying to play multiple images in a Windows Media Player control
embedded on a form. The filepath for the images comes from a multiselect
list box.
The code I have is:
dim varImage as variant
dim strFileName as string
For Each varImage in Me.lstImageTitles.ItemsSelected
strFileName = CStr(Me.lstImageTitles.Column(3,varImage))
Me.WindowsMediaPlayer10.URL = strFileName
Next varImage
For some reason, it only plays the last image that was selected and not all
the selected items. Does anyone know how I can fix this? I am using
Access2003.
Thanks in Advance.
Miles.
I am trying to play multiple images in a Windows Media Player control
embedded on a form. The filepath for the images comes from a multiselect
list box.
The code I have is:
dim varImage as variant
dim strFileName as string
For Each varImage in Me.lstImageTitles.ItemsSelected
strFileName = CStr(Me.lstImageTitles.Column(3,varImage))
Me.WindowsMediaPlayer10.URL = strFileName
Next varImage
For some reason, it only plays the last image that was selected and not all
the selected items. Does anyone know how I can fix this? I am using
Access2003.
Thanks in Advance.
Miles.