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.
4 4462 ADezii 8,834
Recognized Expert Expert
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.
NeoPa 32,579
Recognized Expert Moderator MVP
I guess they don't then ADezii. When you get back from holiday perhaps you can share your method.
ADezii 8,834
Recognized Expert Expert
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.
ADezii 8,834
Recognized Expert Expert @krdbjd
You can change the Application that is 'associated with' or 'Opens' any File with a .wav Extension.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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", pygame.mixer.get_num_channels()
pygame.mixer.music.set_volume(1.0)
pygame.mixer.music.load('file1.mp3)
|
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
www.deutronium.de.vu || www.deutronium.tk
|
by: a.dheeraj.kumar |
last post by:
Is there a way to play music(MP3 or Wav) using c or c++?
|
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 reside on a Web Server. So does the web
server need to send the song as an attachment to the ASP.NET Web
application or does it do streaming?? And how is it achieved??
Please any ideas or any hints will be highly appreciated.
|
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 working. This is what iv'e go
\\\\\\\ Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnOpen.Clic
Dim OpenFileDialog(
Dim openFile As New System.Windows.Forms.OpenFileDialo
openFile.DefaultExt =...
| |
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 Internet
Explorer object model ).
Now, I want the name of the track in the person's nickname from MSN
Messenger ( the "now playing" info that actually comes from the Windows
Media Player Music Plugin ). Does anybody know how to do that ( in
VB.Net...
|
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 the site moves to a
different page the music starts again. The artist would like the music
to play continuously.
I can only think of three possible ways to solve this, and I am not
happy with any of them.
|
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 or music which is:
OLE.DoVerb (vbOLEPrimary)
But the one to stop or interupt the sound I could not find it.
Please let know
|
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 script so im not asking for a script but help learning how to make one.
Thanks, Death Slaught
|
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 http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |