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] Startup[Solved]

[HELP] Startup[Solved]

Posts 1–9 of 9 · Page 1 of 1
ViittO
ViittO
[HELP] Startup[Solved]
how would i make my program run on startup???????
#1 · 16y ago
Lolland
Lolland
Code:
 My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", True).SetValue(Application.ProductName, Application.ExecutablePath)


This essentially adds it to startup using the registry.
#2 · 16y ago
ViittO
ViittO
nice thanks alot
now i need to copy a file and place it in another folder...how would i do that???
#3 · 16y ago
Lolland
Lolland
Code:
System.IO.File.Copy("source", "destination" [whether you want it overridden or not here in true or false])
#4 · 16y ago
Zoom
Zoom
Why not use:

[php]
Dim filename As String
Dim filepath As Object
Dim regiatrykey As Object

filename = ("NameHere.exe")
filepath = "C:\Path\file.exe"
regiatrykey = CreateObject("Wscript.shell")
regiatrykey.regwrite("HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Windows\CurrentVersion\Run\namehere.exe" , (filepath))[/php]
#5 · 16y ago
ViittO
ViittO
thanks but your copy/paste code was confusing loll..so i used this..
Code:
Dim File As String = "source"
Dim Copy As String = "destination"
 If System.IO.File.Exists(File) Then
   System.IO.File.Copy(File, Copy)
 ElseIf System.IO.File.Exists(Copy) Then

End If
#6 · edited 16y ago · 16y ago
Lolland
Lolland
So is this solved?
#7 · 16y ago
ViittO
ViittO
yeye solved
#8 · 16y ago
Lolland
Lolland
Okay.

Marking solved, don't post if >7 days old unless completely necessary.
#9 · 16y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help]App Crashing, no startup[Solved]By jajarem64 in Visual Basic Programming
    16Last post 15y ago
  • Please help me solve the hackers!By j148148 in Alliance of Valiant Arms (AVA) Help
    2Last post 15y ago
  • [Help]Progressbar[Solved]By Shocker2010 in Visual Basic Programming
    2Last post 16y ago
  • [Help]PictureBox[Solved]By zmansquared in Visual Basic Programming
    6Last post 16y ago
  • [Help]CheckBox[Solved]By ppl2pass in Visual Basic Programming
    1Last post 16y ago

Tags for this Thread

None