Results 1 to 8 of 8
  1. #1
    westfallbp is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2021
    Posts
    26

    Use a multiselect List Box to create a playlist and then use media player to q them up.


    I done this with some help like 15yrs ago in Access but lost the database. However, I recall I had a table with a list of music titles, I then created a multiselect listbox based on the table or querry, (doesn't matter), I would then select all the music files I wanted to hear. Had a command button to add and a temporary table would be created with my selections with the file locations. I would then have another listbox based on my selections that I would view. (all on an ubound form I recall) I would then have a command button under that which I would select and it would then Q all the songs up in media player and play them. If memory serves me right I then had another command button I could wipe the table If I wanted a new playlist. I believe I needed a Module, A action Querry I think also to make this happen. If any of you old timers recall how this was done I would greatly appreciate it. Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You have the app outlined, why not start building? The only real challenge I see is manipulating media player. Suggest you web search on that specific topic.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    westfallbp is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2021
    Posts
    26
    Quote Originally Posted by westfallbp View Post
    I done this with some help like 15yrs ago in Access but lost the database. However, I recall I had a table with a list of music titles, I then created a multiselect listbox based on the table or querry, (doesn't matter), I would then select all the music files I wanted to hear. Had a command button to add and a temporary table would be created with my selections with the file locations. I would then have another listbox based on my selections that I would view. (all on an ubound form I recall) I would then have a command button under that which I would select and it would then Q all the songs up in media player and play them. If memory serves me right I then had another command button I could wipe the table If I wanted a new playlist. I believe I needed a Module, A action Querry I think also to make this happen. If any of you old timers recall how this was done I would greatly appreciate it. Thanks
    I believe that was what the module did

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    It sounds like a reasonable design.

    Alternatives to multi-select listbox:

    1. if this is a single-user db, just have a yes/no field in table to select records (no temp table) - could use a toggle button bound to yes/no field on continuous view form), an UPDATE sql could reset all records to no

    2. form bound to "temp" table and combobox to select title in each record, a DELETE sql could purge table

    Something else to consider: "temp" table is not temporary but used to build multiple playlists that could be saved then retrieved via PlaylistName (MyFavorites, Christmas, etc)
    Last edited by June7; 12-29-2024 at 01:04 AM. Reason: l
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    I seem to recall another member here was playing music via Access, so perhaps search here.

    Then again, there is always Google?
    https://www.google.com/search?q=play...hrome&ie=UTF-8
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #6
    westfallbp is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2021
    Posts
    26
    Quote Originally Posted by westfallbp View Post
    I believe that was what the module did
    Now that I have been thinking about it I believe the module was for using the "Send Keys" which media player has a combo key for q uing up the tracks. My problem is that Im more of a script kitty then writing my own modules.

  7. #7
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Access 2021
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,739
    Have a look at this:

    User Friendly Access Media Player for Audio

    I'm working on a much more enhanced (and I've learned a lot more about wmp.dll) version that I will post in the next month or so.

  8. #8
    westfallbp is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2021
    Posts
    26
    Quote Originally Posted by westfallbp View Post
    Now that I have been thinking about it I believe the module was for using the "Send Keys" which media player has a combo key for q uing up the tracks. My problem is that Im more of a script kitty then writing my own modules.
    I know what I used back then. It was called winamp, Also I got help in the MS Access forums. To bad I cant view posts that I did over 10yrs ago so I could adapt it for MS Access version I am using now. After viewing your post it kick started my memory that I used winamp...Thanks for the memory

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Using Windows Media Player in Access Form.
    By Miles R in forum Forms
    Replies: 3
    Last Post: 03-05-2021, 12:49 PM
  2. Windows media player Add to playlist
    By anchamal in forum Forms
    Replies: 0
    Last Post: 10-09-2013, 06:34 AM
  3. Windows Media Player Control
    By dalematt in forum Forms
    Replies: 1
    Last Post: 11-18-2011, 06:20 PM
  4. windows media player
    By ksmith in forum Programming
    Replies: 3
    Last Post: 09-20-2011, 12:44 PM
  5. Replies: 1
    Last Post: 08-05-2010, 12:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums