473,408 Members | 1,747 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,408 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 4428
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.