VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code allows you to open any mp3 file

by Maximum (2 Submissions)
Category: Sound/MP3
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sun 2nd June 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code allows you to open any mp3 file

API Declarations


dim mp3 as string

Rate This code allows you to open any mp3 file



'add this code to a button

private sub command1_click()
'filters the files to open   
   cd1.filter (*.Mp3|*.mp3)
'opens the open dialogue
   cd1.showopen
'assigns the filename as mp3
   mp3=cd1.filename
'assigns the variable to a textbox to open
   text1.text=mp3

end sub

Download this snippet    Add to My Saved Code

This code allows you to open any mp3 file Comments

No comments have been posted about This code allows you to open any mp3 file. Why not be the first to post a comment about This code allows you to open any mp3 file.

Post your comment

Subject:
Message:
0/1000 characters