VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Playing MP3 in 2 lines

by vViktor (7 Submissions)
Category: Sound/MP3
Compatability: VB Script
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

Playing MP3 with 2 lines of code !

Rate Playing MP3 in 2 lines

Just copy this code to Form_Load event and replace !path to file! to path of mp3:


Set MP = Controls.Add("MediaPlayer.MediaPlayer.1", "MP", Me)

MP.object.FileName = "!Path to file here!"

Download this snippet    Add to My Saved Code

Playing MP3 in 2 lines Comments

No comments have been posted about Playing MP3 in 2 lines. Why not be the first to post a comment about Playing MP3 in 2 lines.

Post your comment

Subject:
Message:
0/1000 characters