VS 2008 Making A Music Player (STUCK!)

Feb 18, 2011

im making a Music Player in VS 2008 and everything is basicly working perfectly as i want, however i seem to be stuck at the "Pause/resume button"

so my question is, in the Windows Media player COM Components, is there a code for Resuming the current state on the Mp3 file and id assume it would be resume,[code..]

View 6 Replies


ADVERTISEMENT

Make Music Player With VB 2008?

Jul 20, 2009

this is my first post. I just recently got vb and wish to learn a lot about it but I have no references...(book, good tutorial etc) I have always wanted to make applications for computers ever since I got on one 5-6 years ago. (I know you need code but I have no idea where to start. But, I am a fast learner.)

[Code]...

View 6 Replies

2008 - Making A Media Player Using Listbox

Jan 16, 2009

Ok I'm making a media player using a listbox, but when I added an Item to the listbox it would display as a URL, so I decided to make a mediaplayer playlist instead then when I add a new song it would put the title of the song in the listbox but I have an issue, when I goto switch the song in the listbox, it shuts down with an error.
[Code]

View 1 Replies

Put A Music Player On My Windows Form App?

Jul 12, 2009

Ok. I want to put a Music Player on my Windows Form App. I have the control on the form but i don't know which Import to use or how to get it to play the music I have on my computer.

View 3 Replies

TreeView Music Player - How To Rip And Burn CDs

Aug 29, 2011

I have written a hierarchical treeview music player that reflects the organisational structure of the music files on your disk drive. I just need to know how to rip and burn Cds using VB.net (without using any dependencies if possible). So far in my multi-media project, the only dependency currently is LAME.EXE for converting wave files to MP3 files - and even that dependency will go if I can successfully convert certain C++ listings to VB.

View 2 Replies

Music Player - How To Move Trackbar Button

Jan 31, 2010

I making an music player with a trackbar who gets oppdated while the music is playing. My problem is that I have to move a the trackbar button.

This is my code:
Dim TotalSeconds As Long = CLng(Form1.Player.TotalTime) ' 274445
Dim CurrentSecond As Long = Form1.Player.CurrentTime ' 10497
' maxp is the maximum x location on my bar
Dim nyp As ULong = CULng(((TotalSeconds / maxp) - CurrentSecond))
TB.Location = New Point(CInt(nyp), 11)
Why is it return INF?

View 2 Replies

Open A Music File In Windows Media Player From?

Feb 20, 2007

Is possible - to open a music file in Windows Media Player from a visual basic program?

If i had 'track1.mp3' for example, does anyone know how to open this from visual basic in windows media player?

View 6 Replies

Made A Mp3 Music Player - Save And Load With Openfiledialog And Listbox?

Jul 17, 2010

i made a mp3 music player and i used listbox to let the users see what songs they have added but i want them t be able save and load their song list. How can i do that?

View 11 Replies

Make A Gravity Application (with Speed Readings/music Player) For The Car?

Jun 3, 2012

I'm trying to make a gravity application (with speed readings/music player) for in the car.So I've found some sample code to create an event handler in C#, except I don't know any C#. This is the code to add an eventhandler:

motion.CurrentValueChanged += new EventHandler<SensorReadingEventArgs<MotionReading>>(motion_CurrentValueChanged);

How do I do this in VB.NET? as there is no CurrentValueChanged...

View 8 Replies

Music Player - Playlist - Split The Filelocation From The Filename In The Listbox?

Jun 22, 2009

I got some music player from the web, a cool one, and i tried to add him a playlist. i`ve change the entier interface.

I have like this
- play botton
- pause botton
- stop button
- TrackBar for song
- timer for song lenght
- a volume
- a button for PLAYLIST.

This code is for Play:

Private Sub PlaySong()
If (PlayerControl.URL <> "") Then
PlayerControl.Ctlcontrols.play()

[CODE]...

It's actualy a shortcut for the button event. It checks if Url isn't empty, and if it isn't, start playing the song from that url. This is the code of the play button:

Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click
PlaySong()
End Sub

Now i`m gonna talk about the Playlist button. When you enter the exe, the playlist is Visible, when you press the button it's hidden and so on.(it's made with if then condition).

The playlist it's actualy a ListBox called lplst and has some buttons:
- Add
- Delete
- Save
- Load
- Clear

I`m gonna talk about the Add button. This button pops up a dialog box to open mp3 files to that FIleBox. And it get's ONLY the FILENAME! (without the URL or Location of it) This is the code for the Add button:

Private Sub ToolStripButton7_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton7.Click
Dim openfile As New OpenFileDialog

[CODE]...

Before , the Add button was adding JUST the location (example: C:\blabla.mp3) and when i selected it and click play, it was playing the song. But now i wanted to show only the file name. I got some code on the listbox change too.

Private Sub lplst_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lplst.SelectedIndexChanged
PlayerControl.URL = lplst.SelectedItem
End Sub

This code changes the URL that plays. Depends what is the selecteditem. i browsed all the web , and i couldn't find anything.

Now the problem: I can change the Add button like this:

Private Sub ToolStripButton7_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton7.Click
Dim openfile As New OpenFileDialog

[CODE]...

And this will link me like this: Filename - Filelocation.

But now the PlayerControl.URL = lplst.SelectedItem. code won't run the mp3 file from that location. How do i have to split the Filelocation from the Filename in the listbox?

View 10 Replies

VS 2010 Make A Music Player That Will Play A Song In The .exe Format

Oct 1, 2010

What i want to do is make a music player that will play a song in the .exe format, so an app will open and automatically play a song. This is to prevent ripping and copyright issues. I made a app using the WMP Com Component but that of course requires the file to be opened.

View 2 Replies

Making An Express App To Search For Duplicate Files (songs) In Music Directory?

Jan 21, 2010

Windows Media Player has hosed up my library, making multiple copies of the same songs.I am looking at making a VB express app to search for duplicate files (songs) in my music directory, and allow me to delete or move.Where can I go learn about the files and directory controls I would need to use to point to the directory I want to search?

View 5 Replies

Game - Making The Map Scroll With The Player

Mar 21, 2012

I am working on a game using Visual Basic.NET and XNA. I am having trouble making the map scroll with the player. I can move the map at a square at a time(32x32) but I don't like the way it looks. I want to move at a fluid rate if possible. I want the player to be able to walk half-way through a square then see a half-square to either direction your moving. IE: Walking left, walk half-way through a square then to the far left of the map see half of the next square going to be drawn. But I don't want just half-way, I want to be able to just have fluid movement where you can walk to an 1/8th of the square and see the next 1/8th on the other side of screen if possible... To open this project and view you must have Windows Phone SDK installed can get it from Microsofts website......Note:Only up and down movement have been added into the game.

View 2 Replies

Windows Media Player : Making All The Controls Invisible?

Apr 30, 2012

i have created a application that has a video using the windows media player.i was wondering if there is anyway of making all the controls invisible so you just see?

View 3 Replies

Making A New Playlist And Playinig It In Windows Media Player From VB 2005?

Apr 26, 2011

How do I make a new playlist and play it in Windows Media Player from VB 2005? This is what I have thus far. I do not know how to dimension "player":

Imports System.IO
Imports wmplib
Public Class Form1
Dim Playlist As IWMPPlaylist = Nothing

[code]....

View 9 Replies

Making Media Player In VB2008 - Buttons Next And Previous Don't Work

Nov 16, 2009

I'm making my Media Player in VB2008. I got Listbox1 as playlist. Buttons play and stop works, but buttons next and previous don't. What code i need to put for them?

View 4 Replies

Making A 2D Game That Has A Player (me) That Shoots Bullets (pictureboxes) And Kills Other Enemies?

Apr 22, 2011

I am making a 2D game that has a player (me) that shoots bullets (pictureboxes) and kills other enemies. The problem is that when there are many bullets on the screen it gets very slow because it has to move every picturebox.

View 11 Replies

Music Studio - Real Music Video Where Can Play Many Sound At Any Time

Nov 1, 2011

Hey guys, I'm a new guy in VB.NET. I am proposing my final year project a title called music studio. My version of music studio is like real music video where we can play many sound at any time. For example, the application that I want to build can create many button and also add an audio along with it. And then, when we hit the 1st button, it play 1st audio. while 1st audio play, we also can hit 2nd button and 2nd audio is playing. for example, 1st audio is sound of man walking, and then 2nd audio is the sound of glass break. lastly 3rd sound sound of police siren play. Is it cool? so, my question is, is it possible the I can build an application by using VB.NET?

View 6 Replies

VS 2008 Stuck In One Big Loop?

Aug 12, 2010

The problem is that the code is in a loop which i'm not sure how to stop.The need the text file to read all the file extensions.So i start looping through all the files in a folder.The other problem that happens is that i also need to loop through all the files in the folder so that i can compare the string line and the string X. So the final result is that my program is in one giant loop.

[Code]...

View 2 Replies

VS 2008 Stuck At Error NullReferenceException Was Unhandled

Mar 26, 2011

[code] this is my code n i want to store data at runtime in the my database.i used data base as an access07 and my platform is vb.net..Now come to the point when i run the project it terminates when i'm inserting my data in the access file.[code]

View 4 Replies

VS 2008 WebBrowser Doesn't Load / Gets Stuck

Jun 28, 2011

I have a Webbrowser in my application, it loads the same page after it has finished loading every few seconds really. After a while it will either freeze halfway through loading (show only top half of page) or just not reload at all and stay on loaded page.

I originally tryed the .refresh method but didn't work good, then I tryed just the simple .navigate to the same page, works better but still same problem.

If I manually refresh it with F5 it will work as normal again for a period of time.

Also if I run it outside of the IDE it can crash and give me "flash.ocx not found, it's not included with this version of windows" or something, very strange.

Main prob is webbrowser gets stuck / wont refresh even tho the code is in the DocumentCompleted event.

View 1 Replies

VS 2008 - Compiling Program Got Stuck On Older Version

May 29, 2009

I'm using microsoft visual studio for VB.NET 2008. When i compiling my program it's got stuck on older version of the program, i even change some of the label text in the design mode and it still loading the old label text, is any one ever had this problem before?

View 3 Replies

2008 - Order Form Code Get MR/IR/999 - Stuck And Won`t Get Increase The Number

Apr 16, 2011

I`m make program for order form, I use order form code with name MR/IR/001, when I start Program It`s fine but when the order form code get MR/IR/999, It`s Stuck and won`t get increase the number, I want it the order form code go to MR/IR/1000, MR/IR/1001, MR/IR/1002 until 5000 how to get code work,

THIS THE CODE USING VB 2008 and database using MS access 2007

Dim strTemp As String = ""
Dim strValue As String = ""
Dim sql As String

[CODE]...

View 6 Replies

VS 2008 - Send Email But Stuck With The GeneralFailure Error Caught With Try And Catch

Jun 3, 2010

I am currently trying to send Email but am stuck with the GeneralFailure error caught with try and catch. I got the sample code somewhere off the internet last week and modified it when I have the chance.

The following is the code I am working on for now.

Private Sub btnSend_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click
Dim message As System.Net.Mail.MailMessage
Dim mailClient As New System.Net.Mail.SmtpClient("smtp.live.com", 25)

[CODE]...

Is there anything unnecessary, missing or am I on the wrong track? Right now I am trying to test send a mail from hotmail to gmail or another live account. Also, I have tried searching through the internet for a solution and some said I need to have IIS which I had it installed for it to work. Another said I need to add a reference but did not specify it. Those were pretty old messages though.

View 6 Replies

Making A GDI++ Game - Monster(picturebox) To Go After The Player(picturebox)

Jan 14, 2010

Hey I am making a GDI++ game in vb.net. Now what I want is the monster(picturebox) to go after the player(picturebox). There Are No Vertical Walls. Only The Edge of map barriers. For example to get to the player the AI would have to go to the end of the ledge and either jump off and fall to the lower ledge or take the ladder down. There is no jumping, only falling and going up and down ladders and across the horizontal ledges. So How Can I make this pathfinding system?

View 18 Replies

VS 2008 : Play Background Music In An App?

May 6, 2009

I wanted to know how to make Music of my choice play automatically when my application is launched?

View 19 Replies

VS 2008 Adding Music To A Form?

Jul 11, 2009

If i add a song from my pc in my form... it gonna work for all ppls who gonna try it?

View 1 Replies

VS 2008 Adding Music To The Program?

Feb 20, 2010

How would i go about adding music to my program

View 11 Replies

VS 2008 Music Editor Code?

Mar 6, 2010

im kind of new to visual basic and programming all together, and im trying to make an iphone ringtone maker, yes i know there are some out there but i want to make a simple one. my question is; is there a way i can code a text box or something to edit the start and stop times of a song i open into my program?

View 1 Replies

VS 2008 Music Search & Display?

Sep 5, 2009

the app i want to make to do is search for music on my network drive then display the Artist & song name in listbox etc.Basically i want to know how i would go about doing such a search on

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved