Results 1 to 24 of 24

Thread: Playing Mp3 files

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 1999
    Location
    Behinf you
    Posts
    24

    Exclamation

    I'm trying to find a way to play mp3 files with my program but without the need to get other files...
    E.G - If someone has my program I don't want him to need to have Real Audio or another program to play it..
    I tried using the MMControl but I'm trying very hard to find something else that might work better...

  2. #2
    Guest
    You can use MP3Play.ocx. That works good.
    Download it here: http://www.dialog-medien.de/html/mp3play.ocx.html

    [Update: I just read it, stops after 30 seconds. I gotta find a crack or something for it, sorry.]

    [Edited by Matthew Gates on 05-28-2000 at 10:02 PM]

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 1999
    Location
    Behinf you
    Posts
    24
    Yeah, I saw that OCX too but I need something thats freeware or that dosn't stop working... If you do find anything let me know...
    Btw: Is it safe to use OCX's? Can't there be some commands in DLL's, OCX's that can harm your computer?

  4. #4
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386
    Using an ocx is as safe as running a program you didn't write yourself. It *can* contain code that harms your computer, but the same counts for Netscape, Word, and all other programs you might be using.Search http://www.softseek.com (develop section) for mp3, there's 3 pages with results or something, but there are some freeware solutions.
    Hope this helps

    Crazy D

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 1999
    Location
    Behinf you
    Posts
    24

    Unhappy Been there, done that

    Crazy, First - thanks for your help
    I tried going there a few days ago but couldn't find a freeware OCX that plays mp3 (mostly demos etc...)
    Is it so hard to play an mp3 file via VB?

  6. #6
    Guest
    Go to http://www.planet-source-code.com/
    and type in Mp3. I'm sure there'll be a lot of stuff on how to play mp3s. Hope you find what your looking for.

  7. #7
    Guest
    I got an MP3 OCX that's completely free and works great as well... I'll send it to you, if you want it email me at [email protected]

    I'll reply with the MP3 OCX...

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Aug 1999
    Location
    Behinf you
    Posts
    24

    Cool Thanks

    I'll try em both, thanks to all of you for your help

  9. #9
    Addicted Member
    Join Date
    Feb 2000
    Location
    London, UK
    Posts
    145
    I'd like to have the ocx.
    Please mail it to [email protected]
    Pentax
    Wilhelm Tunemyr,
    Swede in London

    [email protected]

    "Dort, wo man Bücher verbrennt, verbrennt man am Ende auch Menschen"
    Heinrich Heine (1797-1856)

    Pravda vítezi!
    (Truth prevails!)

  10. #10
    Guest
    May I also have it?

    [email protected]


  11. #11
    Guest
    Oh by the way, has anyone ever tried using RealPlayer or WindowsMediaPlayer OCX Controls? I haven't tested them out but they might work.

  12. #12
    Lively Member
    Join Date
    Mar 2000
    Location
    LewZer-LanD
    Posts
    120
    yea, i used the WMP ocx for a program i made.. takes a lot of coding xpecially if u want a playlist.. whew. but it's worth it. just remember, wmp changes big-time from ver to ver so keep your code accurate.. boy did i learn that the hard way.. damn upgrades.

    -da404lewzer
    Kid A

    18 Year Old Programmer
    Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
    [vbcode]
    'back in the day vb6 code
    Private Sub My_Life()
    If Hour(Now) > 3 And Hour(Now) < 13 Then
    Status = "Sleeping"
    Else
    Status = "Computing"
    End If
    End Sub
    [/vbcode]

  13. #13
    Guest
    Hello again, as I said before, just email me, and I'll reply with the control, I don't feel like comming and checking over and over for people asking for OCXs, sorry I"m not trying to be *** or anything, but it'll be easier for me if you just emailed me, and I'd just press reply (instead of composing) and then just attach the file to it....

    BTW, those people who already got the OCX from me, tell me hwo you like it, it's not made by me, but since not many of you heard of it, I'll take the credit for discovering it?

  14. #14
    Guest

    Cool

    Its a nice ocx. Plays the whole damn file! lol. So easy to understad to.

    Code:
    VFmp3player1.Songname = "C:\Winamp\Real Slim Shady.mp3"
    VFmp3player1.Play
    
    'stop
    VFmp3player1.Stop
    There's more than that, but it plays the whole song and its free!

    I like free .

  15. #15
    Guest
    Can it Loop the song?

  16. #16
    Guest
    Yes it can, you can see that in the project file (I sent you the whole zip), there's a place where it gives you a message box when mp3 stops.. what you could do is make it loop right there, but saying, vfmp31.play "blah blah bal" and it'll do it, it's really simple, just gotta use some of your programming skills and you can make stuff almost as good as winamp, I got my Mp3 Player ready (not to be released yet, cause I"m working on an OS Shell that this MP3 will be part of) all I'm trying to do is find out how I'd put in really cool effects like in winamp's...

    PS. my OS shell will be DX based.. and I got some high hopes and plans for it... I'm working on it, as soon as I get a working thing out, I might ask some people to help me with it....

  17. #17

    Thread Starter
    Junior Member
    Join Date
    Aug 1999
    Location
    Behinf you
    Posts
    24

    Arrow But the problem still remains...

    Even though the OCX works great, I'm STILL trying to understand HOW these things work... I mean, getting the OCX really makes life easier but it won't make me any more smarter since I don't know HOW it does what it does.
    Thefore, I request that anybody that knows what is the code needed to play an mp3 file without the need of other components that certain people might not have on their computers - plz reply...

  18. #18
    Guest
    I'm not sure about vb 6.0, but in 5.0, there is this code library on the toolbar, it has a combo box with all controls. If you go to the one that has "VFmp3player1", it will tell you all of what you can do.

  19. #19
    Guest
    That's not what he's asking, he's asking how do other programs do it.. he's asking how would he be able to decode Mp3 files, directly, without need of any ocx that he has to distribute with his files.. he wants to be able to decode mp3 directly from his own program...

  20. #20
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    I'm not sure if its acually possible to decode and play MP3 files with VB code alone, you might run into problems with speed and and getting control of the sound card. But if your interested in the format try checking out this page:
    http://www.cselt.it/mpeg/standards/mpeg-2/mpeg-2.htm
    "People who think they know everything are a great annoyance to those of us who do."

  21. #21
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Talking

    If you can convert C code to VB then you can have a C sourcecode of FREEAMP MP3 Player available at http://www.softseek.com .
    If any of yyou know a software to convert C code to VB, plesae let me know.

    Kinjal

  22. #22
    New Member
    Join Date
    Jun 2000
    Location
    Sweden
    Posts
    3
    here you can get the VFMP3Player ocx file
    http://www.programando.com/visualbas...FMP3Player.zip

  23. #23
    Guest
    Thanks a lot for uploading someone elses work, if that guy finds out, he could sue you, cause you can't distribute it like that, I didn't put it on a site for some of the same reasons...

    instead of doing what the guy above is doing, I'll find the site that had this and I'll post a link to that site, so the author can get the credit instead of some other guy uploading someone else's work like that...

    [Edited by WildGhost on 06-04-2000 at 10:16 PM]

  24. #24
    Guest
    HERE IT IS EVERYONE, ENJOY, QUALITY FREE SOFTWARE...

    http://www.vision-factory.com/activex.htm

    that's where I found this free mp3 player ocx.. don't email me anymore, just visit this wonderful programmer's website (instead of visiting someone elses website)

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