473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Playing Music From Access

My first question on this site, so hi to all.

I have recently constructed a database for my daughter's (12) mp3 files so that she can easily move them to and from her mp3 player. This works fine and saves me hours searching for a particular track.
However, so that I can check that a file is not duplicated, I would like to be able to listen to it, preferably in WinAmp but WMP would do in this case. In short, what I am trying to do, is simulate double clicking the track in Windows Explorer. Is this possible?

Ali Rizwah - "Run AVI files inside a picture box" on 25/02/08 in the VB/VBA "How To" section is close to what I am looking for, so if anybody can tell me how to modify this for audio files, I would be most grateful.
Mar 1 '08 #1
4 4425
ADezii
8,834 Expert 8TB
My first question on this site, so hi to all.

I have recently constructed a database for my daughter's (12) mp3 files so that she can easily move them to and from her mp3 player. This works fine and saves me hours searching for a particular track.
However, so that I can check that a file is not duplicated, I would like to be able to listen to it, preferably in WinAmp but WMP would do in this case. In short, what I am trying to do, is simulate double clicking the track in Windows Explorer. Is this possible?

Ali Rizwah - "Run AVI files inside a picture box" on 25/02/08 in the VB/VBA "How To" section is close to what I am looking for, so if anybody can tell me how to modify this for audio files, I would be most grateful.
I have a Merthod to play *.mp3 files involving an API call, but I'll wait and see if anyone else has a better solution.
Mar 1 '08 #2
NeoPa
32,556 Expert Mod 16PB
I guess they don't then ADezii. When you get back from holiday perhaps you can share your method.
Mar 7 '08 #3
ADezii
8,834 Expert 8TB
I guess they don't then ADezii. When you get back from holiday perhaps you can share your method.
I was going to suggest using the ShellExecute() API Function which will Open any File based solely on its File Extension Association. In the case of *.mp3 Files, it will Open the Server Application that is registered on the System for opening *.mp3s. If the OP is still interested, then I'll Post it. In my opinion, it is one of the neatest tricks around, since you don't even have to know which App is assigned for a give File Type.
Mar 8 '08 #4
ADezii
8,834 Expert 8TB
@krdbjd
You can change the Application that is 'associated with' or 'Opens' any File with a .wav Extension.
Feb 27 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Marian Aldenhövel | last post by:
Hi, I am trying to make pygame play music on windows. This simple program: import pygame,time pygame.init() print "Mixer settings", pygame.mixer.get_init() print "Mixer channels",...
4
by: cody | last post by:
Is there a way to play mod-music in .NET? I know in the standardlibraries there is nothing for mod-music but does anybody know of a free third party component that can be used for that? -- cody...
5
by: a.dheeraj.kumar | last post by:
Is there a way to play music(MP3 or Wav) using c or c++?
4
by: Sumaira Ahmad | last post by:
Hi, Is there any way of playing songs and downloading songs from a server onto a client machine. I want to develop an application such as a music portal which allows clients to play songs that...
5
by: Tom W | last post by:
Ok, hi evryon now I swear I put this post up yesterday but I cant find it anywhere so ill put it up again So I'm making a program to play music but the code ive got for the open dialog thing isn't...
3
by: Tommy DN | last post by:
I've made a program that displays the track that's playing on a (internet)radiostation. The name of the "now playing" track comes from the radiostation's website ( from the statusbar using the...
14
by: gnarl | last post by:
Hello all, I'm developing a site in PHP4 for a music artist, who wants music to play across all their pages. I have loaded a simple flash applet to play the music, but every time the visitor to...
4
by: Benzerari | last post by:
Hi All; Please, if any one knows the visual basic code, to be added to a Stop button in order to stop playing some sound of (*.Wav) type. I have achieved to find the code for start playing sound...
11
Death Slaught
by: Death Slaught | last post by:
i need a music player on my site ive tried the embed tag but i cant ever get the music to play also i would like to have script that lets my users download a file but i know nothing about downloading...
2
by: sumaabey | last post by:
Thanks in advance. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.