VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Mp3 and avi Player. Also View Images! (Easy to make!) You can set it to play allmost any kind of Mo

by ReC (Recovery) (1 Submission)
Category: Sound/MP3
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 11th May 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Mp3 and avi Player. Also View Images! (Easy to make!) You can set it to play allmost any kind of Movie files.

Rate Mp3 and avi Player. Also View Images! (Easy to make!) You can set it to play allmost any kind of Mo





1) Microsoft common Dialog control 5.0
2) Windws Media Player

You can find them under project >components...

Now, you need to past this code under the Open command Button:



    Dim stFileName As String
    
    CommonDialog1.Filter = "MP3 Files|*.MP3|AVI *.avi|*.avi|JPG (*.jpg)|*.JPG| Gif (*.GIF)|*.GIF|Bmp (*.bmp)|*.bmp|Ping (*.ping)|*.PING"
    CommonDialog1.Flags = cdlOFNHideReadOnly
    
    CommonDialog1.ShowOpen
    
    stFileName = CommonDialog1.FileName
    
    MediaPlayer1.open stFileName

then just put in other commands such as:
Play
Stop
Pause Ect.
 
You can make the codes by makeing command buttons and pasting this code:

MediaPlayer1. Type that in, options will come such as: Play, Stop ect.

so, to make the mp3 or avi pause you would put:

MediaPlayer1.Pause





Download this snippet    Add to My Saved Code

Mp3 and avi Player. Also View Images! (Easy to make!) You can set it to play allmost any kind of Mo Comments

No comments have been posted about Mp3 and avi Player. Also View Images! (Easy to make!) You can set it to play allmost any kind of Mo. Why not be the first to post a comment about Mp3 and avi Player. Also View Images! (Easy to make!) You can set it to play allmost any kind of Mo.

Post your comment

Subject:
Message:
0/1000 characters