D
ddumke
I made a reference to Microsoft's Media Player in VB and
embedded the control on a Microsoft Access form. The whole
reason I'm doing this to create a database that can
warehouse my CD's. I'm able to play a music file using the
Media Player's "Open" method. The problem occurs when I
create a recordset and populate it with music files and
then want to loop through it. The first song plays without
a problem (the VB code is behind a command button). The
problem occurs when I want the next song to play by using
the recordset's "MoveNext" method (the code is behind the
Media Player's "EndofStream" event). At this point, Access
automatically terminates with a message saying that I've
used up all of my stack memory. Does anyone know how to
code Media Player to play multiple songs? Any help would
be appreciated.
embedded the control on a Microsoft Access form. The whole
reason I'm doing this to create a database that can
warehouse my CD's. I'm able to play a music file using the
Media Player's "Open" method. The problem occurs when I
create a recordset and populate it with music files and
then want to loop through it. The first song plays without
a problem (the VB code is behind a command button). The
problem occurs when I want the next song to play by using
the recordset's "MoveNext" method (the code is behind the
Media Player's "EndofStream" event). At this point, Access
automatically terminates with a message saying that I've
used up all of my stack memory. Does anyone know how to
code Media Player to play multiple songs? Any help would
be appreciated.