Solved

audio player control for msaccess

Posted on 2014-03-03
11
817 Views
Last Modified: 2014-04-11
I have been tasked with creating a form to allow users to download and listen to audio files.  The files will be downloaded from FTP by the form to a temporary space on the users machine. The user will need to see a slider or a waveform to show the progress of the playing audio and start / pause buttons. The user will be listening to this audio and making notes within textbox's on the form to be saved in the database corresponding to the audio filename.
I can handle all the task's for this project except the audio player piece, are there any open source player api's besides using windows media player? I want to keep the control small on the form, in other words I dont want to see a video player.
0
Comment
Question by:Dalexan
11 Comments
 
LVL 22

Expert Comment

by:plusone3055
ID: 39901403
0
 

Author Comment

by:Dalexan
ID: 39901413
Thanks but I don't want to see the Video player window?
0
 
LVL 22

Accepted Solution

by:
plusone3055 earned 250 total points
ID: 39901439
<embed height="50" width="150" src="yourfile.mp3">

that's as small as your going to get and still be able to slide back n forth on the file :)
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:Dalexan
ID: 39901483
Can you give me a little more of the code to make the call to open the player? Do I need to instantiate the vlc.exe or one of the .dll's?
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 39901599
you don't need any code to call the player to open
the nebedding code I gave you will ahve the player appear. All you need to do is link the file from the temp folder to the player :)
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 250 total points
ID: 39905249
There is a Windows API call, sndPlaySound32,  that will let you design you own minimal interface. Below is a a very old snippet from this Microsoft page - http://support.microsoft.com/kb/158140
Declare Function sndPlaySound32 Lib "winmm.dll" Alias "sndPlaySoundA" _
       (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long

   Sub PlaySound()
       'If Application.CanPlaySounds Then 'not needed for Access
           'Substitute the path and filename of the sound you want to play
           Call sndPlaySound32("c:\win95\media\chimes.wav", 0)
       'End If
   End Sub

Open in new window

0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39972053
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 39972054
The user asked for code to embend a small media payer
I gave him exactly that
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flowing down data to other tables 13 35
File.Search issue 8 35
Number of records returned on a form 5 25
Database keeps telling me Recordset Locked 10 24
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question