|
-
May 28th, 2000, 05:45 AM
#1
Thread Starter
Junior Member
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...
-
May 28th, 2000, 08:52 AM
#2
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]
-
May 28th, 2000, 03:35 PM
#3
Thread Starter
Junior Member
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?
-
May 28th, 2000, 04:22 PM
#4
Hyperactive Member
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.
-
May 28th, 2000, 04:38 PM
#5
Thread Starter
Junior Member
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?
-
May 29th, 2000, 07:16 AM
#6
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.
-
May 29th, 2000, 10:05 AM
#7
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...
-
May 30th, 2000, 03:29 AM
#8
Thread Starter
Junior Member
Thanks
I'll try em both, thanks to all of you for your help
-
May 30th, 2000, 05:05 AM
#9
Addicted Member
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!)
-
May 30th, 2000, 08:24 AM
#10
May I also have it?
[email protected]
-
May 30th, 2000, 08:26 AM
#11
Oh by the way, has anyone ever tried using RealPlayer or WindowsMediaPlayer OCX Controls? I haven't tested them out but they might work.
-
May 30th, 2000, 09:55 AM
#12
Lively Member
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]
-
May 30th, 2000, 09:58 AM
#13
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?
-
May 31st, 2000, 02:28 AM
#14
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 .
-
May 31st, 2000, 03:02 AM
#15
-
May 31st, 2000, 08:31 AM
#16
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....
-
Jun 2nd, 2000, 04:58 AM
#17
Thread Starter
Junior Member
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...
-
Jun 3rd, 2000, 10:24 AM
#18
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.
-
Jun 3rd, 2000, 10:44 AM
#19
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...
-
Jun 3rd, 2000, 11:11 AM
#20
Hyperactive Member
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."
-
Jun 3rd, 2000, 01:49 PM
#21
Fanatic Member
-
Jun 4th, 2000, 12:28 AM
#22
New Member
-
Jun 4th, 2000, 09:13 AM
#23
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]
-
Jun 4th, 2000, 09:19 AM
#24
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|