Results 1 to 17 of 17

Thread: [RESOLVED] question

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Resolved [RESOLVED] question

    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?

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: question

    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.
    Show Appreciation. Rate Posts.

  3. #3
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: question

    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

  4. #4
    Junior Member
    Join Date
    Sep 2006
    Posts
    21

    Re: question

    luke, use mciSendString

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: question

    Quote Originally Posted by kenzhin
    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 reply

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: question

    Quote Originally Posted by luke9511
    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 reply
    You can not just copy a .Exe from one computer to another.

    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.

  7. #7
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: question

    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.
    Show Appreciation. Rate Posts.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: question

    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

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: question

    Quote Originally Posted by luke9511
    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".

    What happens when your friend runs your setup, and then trys to run your program?

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: question

    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

  11. #11

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: question

    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

  12. #12

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: question

    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

  13. #13

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: question

    how do i code a volume controll and a playlist?

  14. #14

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: question

    does anyone have an idea? i've been searching google and the forums and havent found anything

  15. #15
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: question

    Quote Originally Posted by luke9511
    does anyone have an idea? i've been searching google and the forums and havent found anything
    Which control are you using??

    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.
    Last edited by Harsh Gupta; Sep 17th, 2006 at 06:15 AM.
    Show Appreciation. Rate Posts.

  16. #16

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: [RESOLVED] question

    i know i made it this way so no one would reply cause im getting the answers on another forum but thanks anyway

  17. #17

    Thread Starter
    Lively Member
    Join Date
    Feb 2006
    Location
    Nashville Tn
    Posts
    85

    Re: [RESOLVED] question

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width