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 › Open a program when I click a button [solved]

Open a program when I click a button [solved]

Posts 1–11 of 11 · Page 1 of 1
Sprite
Sprite
Open a program when I click a button [solved]
What source/What will I do to make a button open up a program for example ...

Button1 = Opens Any Program ..

Like that

Please help ! TY
#1 · 15y ago
Blubb1337
Blubb1337
process.start("path") ?
#2 · 15y ago
utherson601
utherson601
Code:
 
  Private Sub Button1_Click(ByVal sender As System.Object, _
        ByVal e As System.EventArgs) Handles Button1.Click

        System.Process.Start("C:\location\programname.exe")

    End Sub
would this work?
#3 · edited 15y ago · 15y ago
Blubb1337
Blubb1337
Quote Originally Posted by utherson601 View Post
Code:
 
  Private Sub Button1_Click(ByVal sender As System.Object, _
        ByVal e As System.EventArgs) Handles Button1.Click

        System.Process.Start("C:\location\programname.exe")

    End Sub
would this work?
That is just what I wrote previously.
#4 · 15y ago
utherson601
utherson601
Quote Originally Posted by Blubb1337 View Post
That is just what I wrote previously.

sorry, I didn't see yours.... I had it open already and it didn't load your reply...
#5 · 15y ago
sythe179
sythe179
Code:
shell("filepathhere\blabla.exe")
could use that too...
#6 · 15y ago
Jason
Jason
And the Process class isn't part of the System namespace. It's in the System.Diagnostics namespace.
#7 · 15y ago
sythe179
sythe179
'imports are at the top...
imports System.Diagnostics

button_click event

Process.Start("C:\location\programname.exe")
' or
shell("filepathhere\blabla.exe")
#8 · 15y ago
Jason
Jason
System.Diagnostics is imported by default (As is System and a few others) so there is no need for that. Your post was pretty pointless as you JUST mentioned Shell before, and Blubb already said Process.Start.
#9 · 15y ago
Sprite
Sprite
Okay I just used this code and it worked ..

Code:
Process.Start("programname.exe")
That's it ! /req close
#10 · 15y ago
Jason
Jason
Marked solved then. You guys know the deal (or you should). No more posting unless you have a question about the solution.
#11 · 15y ago
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help]Open link click of button[Solved]By iFrank1 in Visual Basic Programming
    7Last post 16y ago
  • [Help]Click Image Button[Solved]By ppl2pass in Visual Basic Programming
    12Last post 16y ago
  • CA crashes when opening a program.By lasts3cond in Combat Arms Discussions
    3Last post 17y ago
  • [req]how to open a program in C++By Stelthkid in C++/C Programming
    21Last post 17y ago
  • game crashes when i click gamestart?By deezy427 in Combat Arms Help
    11Last post 16y ago

Tags for this Thread

None