How To Play Mp3
Jul 17, 2008this is chandrashekar i am working on a project in that project to create impression to othersI want to play a background music
View 7 Repliesthis is chandrashekar i am working on a project in that project to create impression to othersI want to play a background music
View 7 RepliesI want to the song can auto start one by one when import the song to list box. But it doesn't work that I need to select one by one. Besides, the program can repeat all the song or individual song when checkbox enable.
If AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsMediaEnded Then
If playlistbox.SelectedIndex < playlistbox.Items.Count - 1 Then
[code].....
Im trying to open media player (full screen) and play a movie. When i create the file path like so: Dim MoviePathVTS As String = String.Concat("""" + tempMoviePath, " \VIDEO_TS\VTS_01_1.VOB" + """")
It wont play the file but if i do it like this: Dim video1 = """F:\Movies\DvD\Angels and Deamons\VIDEO_TS\VTS_01_1.VOB"""
It plays fine? the file paths are the same including the extra "" but it just refuses to play. I need the top one because i have many movies in a treeview.
Heres my code
Private Sub watchNow_Click(ByVal sender As Object, ByVal e As EventArgs)
'get the position of the selected node
Dim i = movieTreeView.SelectedNode.Index
[CODE]...
How can you make a play button play/stop toggle? Currently my button plays a file in WMP but when I click it again, it just restarts the file. I would like it to toggle on and off, play and stop, not play and pause.
View 8 RepliesI cant get this to work with an MP3 Audio file. It only works with .WAV, the reason im not using .WAV is cuse it takes a lot of space. So how can I play an MP3 File?
View 2 RepliesI have a .swf file that is about 29mb. I created a media player using a windows media player component.When i runt he application, it shows on the bottom that it is buffering? Is there a faster way to play media files?
View 8 RepliesI am having problems getting a .swf file to play in visual basic. Yes I have enabled .swf functionality. I am getting no errors. I created the .swf in adobe flash CS3, yes it will play if I open it in IE. But what I want to do is have it so it will play in the visual basic window. how to get this to work? it is called flash_engine.swf and it is my resources. my code is:
[Code]...
What is the best way to play music in the background of my program?
View 2 RepliesIs there any way to play MP3 directly from a memory stream (without any temp. files) using VB.NET or C#? or play from SQLCe database?
View 2 RepliesI have a program I'm trying to put together to allow my employees to submit shift reports. I'm doing this simply to make my life a little easier as this way, they will all be formatted the same. Instead of spending a large chunk of my afternoon thumbing through a bunch of differently formatted reports.
One feature that I need to figure out requires that one listbox can see what another is doing. Here, let me try to explain..
I have one list box that keeps track of EVERY action the employee does on a customers account. (cancel, upgrade, downgrade) and then a hidden listbox that JUST tracks "cancel" actions..one for "upgrade" actions and one for "downgrade" actions.
The reason behind that is that in the shift report, the all need to be listed separately. This way, I can just add each list to it's own array and list them where I need to.
The problem I've run into... If an employee handles an "upgrade" action at the beginning of the day..and then later on the upgrade is canceled, I can easily remove it from the main listbox that shows everything, however, I can't figure out how to find it in it's own listbox. The "Upgrade" box.
i have a voice that is sampeld and transmited to the computer via RS232, every time i am saving one byte with VB program. i need to play the sampeld voice at my computer, how can i do that at real time. can i play everytime only one byte? or i need to biled a string and then play it every few secound?
View 2 RepliesHow can I play a MP3 sound using vb code in my application?
View 8 Replieswant to play a song when i click a button.... it s possible means, pls give an overview or give link to video tutorial
View 1 Replieswell i wanted to make a piano with visual basic 2008 and i searched around the internet to see how to play a sound but my search returned results relating only to visual basic 2005 & 6 so i am again forced to waste your time
View 3 Replieshow to play a Simple mp3 in the background, and if he presses a button itll stop/start the file, i do not want it to play in WMP, but just in Background of program.
View 1 RepliesI have put some wav audio on the resources. in my form, i have a label. i named the label as s1f1 and s1f2. now i want to play the audio according to the label click. if it is click then the audio play. i dont to put a line of code in every label. assuming that there is a lot of label, then it will be a waste of time. so how can i play the audio, by only write a several line code but for all of the labels.
View 7 RepliesHow can i play a .wma file. it resembles a gunshot so it has to be played once.
View 4 RepliesI'm working on a game that plays MP3s at various points using the Windows Media Player component and it takes a long time to load and play MP3s. Would anyone know how to decrease the load time? I've considered multi-threading but I'm not sure how I would do that or if that's even the proper direction.
View 2 RepliesI need to create a VB.NET application which playes a song at a time from a predefined list of song.Basically, there is a list of Mp3 files which is completely hidden to the user and there are 5 buttons on the screen. Each button correspond to a different Mp3 and when the user presses one of them the song associated to that button starts to play. The time-elapse of each song is unknown and there is a timer which stops the song after
View 1 Replieshow can i play more than one wav file at a time? and not at the same time too. can vb.net do this alone without import something else?
View 1 RepliesHow To Play mp3 Without a control?
I Know How To Play WAV Files But MP3...
Is there a way to play a wav file in a VB.Net program without using the Windows Media Player item?
View 4 Repliesdoes someone knows how to play video like avi files with the MCI in specific form in .net.
i want to play the video in my win form application in specific form for example open form called f_Video and play the avi file in that form
i need a way to play wav and mp3 sounds using vb net. its has to be able to play more than one sound at same time and also to play the same sound again even if it has not finished playing
i tried this
Code:
Dim ch As String
ch = Chr(34) & TextBox1.Text & Chr(34)
mciSendString("open " & ch & " alias s1", Nothing, 0, 0)
mciSendString("play s1", Nothing, 0, 0)
it plays the sound once then will not play any other sound at all.
How i can play an wav song from my Resources[code]...
how to make it to play when form loads?
how can i play using vb.net or c#.net a .ASX?
View 3 Repliesive just started to play with WMI for the first time and im having some real troubles.... i got a WMI Code Creator from Microsoft web site and it creates code for me, and i can run it from that ap and the code works, but when i copy it to my project in VS2008 i get 3 not defined errors. unfortunatly i cant figure it out, im sure its pretty simple.
[Code]...
I want to create a simple app that plays an avi, but i do NOT want to use the windows media player addin, ( I hate that thing and it won't suite my purpose). Is this possible using some other method( I want to paint it in the coner of the screen over all other windows.)I doubt this is possible with XNA because that is for making games and the last managed directx came out in 2006 which is a bit old for my liking.
View 13 RepliesI've created a new form in my program and dragged the windows media player into the form. I have an mp3 in a resources folder within the project. I've set the URL to the name of the mp3. I've looked at tutorials but they make the windows player accessible to the users. I just want the user to be able to hear the music and not be able to change anything regarding the background music.
I want the music to start playing at runtime and continue to loop for now. I will eventually want to switch up the background music depending on which form the user is on. But for now I would be happy just getting a single mp3 to play continuously.
I'm using OpenTK to get OpenAL lib.I'm using OpenAL to play multiple wav files at a time(or so i want).Do you know any tutorial/source code in .Net (VB/C# doesn't matter) that could help me use OpenAL to play multiple files?
View 4 Replies