Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › {help}mp3 player

{help}mp3 player

Posts 1–15 of 28 · Page 1 of 2
tremaster
tremaster
{help}mp3 player
how would i make a mp3 player
#1 · 16y ago
flameswor10
flameswor10
Go to Tools > Choose Toolbox Items > Find WindowsMediaPlayer in there somewhere (look in the tabs)
Code:
            AxWindowsMediaPlayer1.Ctlcontrols.Play()
            AxWindowsMediaPlayer1.Ctlcontrols.Pause()
            AxWindowsMediaPlayer1.Ctlcontrols.Stop()
Use any of these in your buttons.
#2 · 16y ago
tremaster
tremaster
how do i play music
#3 · 16y ago
Jason
Jason
Quote Originally Posted by tremaster View Post
how do i play music
Intellisense mate, it's not even hard. Add an AxWindowsMediaPlayer control to your form and then intellisense makes the rest easy peasy. How about you have a go before asking to be spoonfed?
#4 · 16y ago
Blubb1337
Blubb1337
Ow come on...There is something called Google. You can even find ~20 youtube tutorial about that <.<

Furthermore, the solution was already posted above...
#5 · 16y ago
Jason
Jason
Quote Originally Posted by Blubb1337 View Post
Ow come on...There is something called Google. You can even find ~20 youtube tutorial about that <.<

Furthermore, the solution was already posted above...
I believe his problem is getting the file to play, but that's so easy.

HINT: In this context, location = URL. If you can't figure it out from that and flameswor's post, you should probably think of a new hobby
#6 · 16y ago
tremaster
tremaster
I need to make a list box and when i click one of the listbox items witch will be a song i want it to play im thinking about if the list box item is click then the song will start help?
#7 · 16y ago
Jason
Jason
Will the listbox contain the actual location of each song or just the song name?
#8 · 16y ago
tremaster
tremaster
this not real code but example if listbox item.clicked then play location of song here
#9 · 16y ago
Jason
Jason
Quote Originally Posted by tremaster View Post
this not real code but example if listbox item.clicked then play location of song here
Omg can you answer my question? I know WHAT you're trying to do but can you answer the question, will the listbox just have the songs names or the whole path, that'll influence the code behind it -.-
#10 · 16y ago
Blubb1337
Blubb1337
Listbo*****lectedIndexChanged Event

AxWindowsMediaPlayer1.Url = listbox1.selecteditems(0).text

Or .Selecteditem....idk
#11 · 16y ago
tremaster
tremaster
it will have the name
#12 · 16y ago
Blubb1337
Blubb1337
Either save the filepath in the .tag of the item or io.path.getfullpath(listbox1.selecteditem)
#13 · 16y ago
Jason
Jason
Well seeing as you're having the name, you might want to do a save setting when you add it to the listbox.

i.e

[php]

Dim OFD As New OpenFileDialog

If OFD.ShowDialog = Windows.Forms.DialogResult.OK then
Dim lio1 As Integer = (OFD.FileName.LastIndexOf("\") + 1)
Dim lio2 As Integer = (OFD.FileName.LastIndexOf(".")

Dim finalName As String = OFD.FileName.Substring(lio1, (lio2 - lio1))
ListBox1.Items.Add(finalName)
SaveSetting("MyMedia", "Songs", finalName, OFD.FileName)
End If
[/php]

Then add this to your ListBox1_SelectedIndexChanged

[php]

AxWindowsMediaPlayer1.URL = GetSetting("MyMedia", "Songs", ListBox1.SelectedItem)
AxWindowsMediaPlayer1.Ctlontrols.Play()

[/php]

Yeah...
#14 · 16y ago
Blubb1337
Blubb1337
IO.Path.GetFileName ftw?
#15 · 16y ago
Posts 1–15 of 28 · Page 1 of 2

Post a Reply

Similar Threads

  • [Help]How to have a Mp3 player hold Songs?By NOOBJr in Visual Basic Programming
    11Last post 16y ago
  • Fast Mp3 Player And Video PlayerBy ĎÁŗҚ ĉҰρҢềŔ in Visual Basic Programming
    10Last post 16y ago
  • Sync MP3 playerBy Gourav2122 in Hardware & Software Support
    3Last post 18y ago
  • What mp3 player should I getBy SATANICAT in General
    19Last post 20y ago
  • Best MP3 Player for CABy skip in Combat Arms Hacks & Cheats
    27Last post 18y ago

Tags for this Thread

None