im wanting to try and create a media player just for fun but i want to know what is the best thing to use, the multimedia controll or the windows media controll?
Printable View
im wanting to try and create a media player just for fun but i want to know what is the best thing to use, the multimedia controll or the windows media controll?
These 2 controls work more or less in the same way. Don't quite remember if one really tops other in any way.
IMHO, if you are doing it for fun, use DirectX. Those 2 controls are quite limited in functionalities.
Look for good DX tut in Jacob Roman's signature.
I'm not quite sure, but i think that VLC player (also DirectX - supports just everything) for Windows is written in VB... and it's also OpenWare... so, take a look ;)
luke, use mciSendString :)
i was going through my vb work from my vb classes at school and found a media player i had made using the mci controll and i put it on my usb flash drive and took it to school, opened it in vb on one of the schools computers and made it into a exe and sent to a friend and he said he couldnt use it on his computer,does anyone know why? and sorry for the late replyQuote:
Originally Posted by kenzhin
You can not just copy a .Exe from one computer to another.Quote:
Originally Posted by luke9511
You need to create an installation and setup program that will bundle your .Exe along with all of the necessary dependency files (such as the VB6 runtimes, all Dlls/OCX files, etc) that your program needs. Then, ship the installation and setup package to whoever and they can run the install.
You cannot expect Windowed programs to work just by copy-pasting them to the target machine. You would need to create a Setup Installer for your project. Look at the Application Deployment Section of VBF for more details.
well while i was waiting for a reply i talked to one of my teachers and he said the same thing and i did it with no problems or anything had all the files and sent it to my friend and its still not working,im going to have to upload it later once i get home as im at school in class at the moment
Define "still not working".Quote:
Originally Posted by luke9511
What happens when your friend runs your setup, and then trys to run your program?
im going to have to wait till i get home i have all the info there and will also get a screen shot of the error
ok i repackaged it and resent it and it worked, but just incase here it is so if anyone wants to try it and see if it works for them, feel free too
media player test
well im just gonna guess and say it works, so im going to keep this thread open to work on my media player, which beings me to my next question, my media player can play movies but it opens a new window for the video and i was wondering if there was a way to use a picture box or something on the form for the video? and thanks in advance for any help/advice
how do i code a volume controll and a playlist?
does anyone have an idea? i've been searching google and the forums and havent found anything :(
Which control are you using??Quote:
Originally Posted by luke9511
Check for my "How to play MP3s" thread in FAQ section. I used a WMP control and it also demonstrate how to control the volume.
EDIT: BTW, either create a new thread for this topic or remove the RESOLVED tag from the subject otherwise nobody would look into this thread even if you have a question.
i know i made it this way so no one would reply cause im getting the answers on another forum but thanks anyway :)
ok im having to reopen this thread as im still in need of help for this project but i dont know who to contact but the questions from my other replys is what i need