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 !
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!"