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 › [Tutorial]Run on Windows Start-Up

[Tutorial]Run on Windows Start-Up

Posts 1–2 of 2 · Page 1 of 1
topblast
topblast
[Tutorial]Run on Windows Start-Up
Running on windows start if a few things you see in the hacking work(FEW NOT NEVER). Well it is a simple code using Registry. Let us begin shell we

first you will need to import win 32 for the registry
Code:
Imports Microsoft.Win32


now that we have imported win 32 we can now start the fun stuff. Adding an application to the list of start up program.
Code:
Private Sub AddCurrentKey(ByVal name As String, ByVal path As String) ' Adds to startup
        Dim key As RegistryKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
        key.SetValue(name, path)
    End Sub

That code allow you to add the registry for you app to the start up list.

Code:
Private Sub RemoveCurrentKey(ByVal name As String) ' Removes from startup
        Dim key As RegistryKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
        key.DeleteValue(name, False)
    End Sub

this code allow you to remove your application from the start up list ( th computer running to slow r what ever)

The Final Code is the option if u want to add or remove your program from start up and Save it if it cant save the application will close then just simple start from scratch
Code:
Private Sub CheckBox2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged
        If CheckBox2.Checked Then
            AddCurrentKey("StartupExample", System.Reflection.Assembly.GetEntryAssembly.Location)
            My.Settings.str = True
            My.Settings.Save()
        Else
            RemoveCurrentKey("StartupExample")
            My.Settings.str = False
            My.Settings.Save()
        End If
    End Sub


now for the load. If when the app load and Start up will always Change
Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If My.Settings.str = True Then
            CheckBox2.Checked = True
        Else
            CheckBox2.Checked = False
        End If
End Sub


And your Finish that most to it as you can see it is very simple and is easy to do Enjoy.
#1 · 16y ago
NextGen1
NextGen1
hmmmmm another one?

Thanks for sharing, there are atleast two other one of these, but thanks anyway





#2 · edited 16y ago · 16y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • How to run in window mode?By rolls in Combat Arms Hacks & Cheats
    10Last post 16y ago
  • [Tutorial]Disabaling emu windows in your runnableBy HolyFate in Gunz General
    14Last post 20y ago
  • *REAL* How to use Run in Windows Vista! - How to Disable/enable Search Box in vistaBy wotlkgeek in Programming Tutorials
    0Last post 17y ago
  • i Run on windows 7 Build 7100By nivr3 in Combat Arms Hacks & Cheats
    1Last post 17y ago
  • The MATRIX runs on Windows.By Disturbed in General
    3Last post 17y ago

Tags for this Thread

None