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.
trying to get a playlist to burn in media player. I have the playlist going into media player but cant get it to burn using the burnplaylist property and start burn method.
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.)
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.
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?
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..]
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?
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...
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?
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.
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?
What is the correct way to copy/write files to a Master CD using Visual Basic?If I use Windows Explorer and copy files to the CD drive, they don't actually get written to the CD until I click on the 'Burn' button.
I have data(one byte) that want to write on the Last Track of CD (the end of a cd ,where that is not able to write any more data on it)and read that. I dont want change CDFile system data
I have been researching on the possibilities of programmatically burning comments on pdf files permanently but so far I have not been successful. Has anyone writen code to do this or point me in the right direction? Permanently burn comments into pdf?
Maybe this is a stupid question....I'm looking at a project that would require me to burn a video to DVD in such a way that a traditional DVD player could play it. I've found several '3rd party tools' that do this, which is great and the direction I'll probably take.
But, I can't, for the life of me, fathom how to sit down and write a video to DVD. I know this is largely academic (Just use the available libraries!) still, I'd really like some direction on how I would/could go about doing this myself.
i was wondering if anyone body has used Chilkat Zip Component or any Chilkat compression in there project before.I am currently developing a small project used for drive and directory backups.i am looking at using a 7Zip Or Tar Compression as Chilkat supports theses.i was wondering if a Drive backup is capable or will it crash and burn?
Public Class EasyPlayer Private Sub EasyPlayer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load System.Diagnostics.Process.Start("MediaPlayer") End Sub
So I am trying to make a program that allows you to move two shapes using two KeyPress events, one to move the first object and another for the second. It works, but it can only move one of the two objects, not both at the same time.
I am trying to create a program which will allow users to select multiple files from a list and then burn them all to a playable DVD. It would be wonderful if i could setup a custom menu programatically as well. I have seen some documentation on Imapi 2.0 but i have not been able to find too much suppoert for it. I have also found a few SDK's out there but most are over $1000 which just isnt in the budget.
1) Is there a library included in windows 7 that will allow me to do this.
2) Is there an inexpensive or open source sdk with good documentation out there to do this with
I'm making a speed card game [URL] for the final in one of my programming classes. I'm looking for a little assistance with how to go about getting it done the best way. I've included the code I have so far below. How does it look? What would you do differently? Would you do anything the way I did? I need to have one AI player and a human player.
i have a treeviev and listbox.i want to display the selected contents of treeview into the listbox.my code is working for file but not for folder. means i want, if the all contents of folder ABC(i.e all files) are selected then in listbox i want to show the only path of folder not the seperate path of each file.