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]Start Process/program in Resources

[HELP]Start Process/program in Resources

Posts 1–10 of 10 · Page 1 of 1
[P
[Project Recon]Porhaxn
[HELP]When File already exists, how do we by pass that error.
When a file already exists at the location, how do we bypass that error and overrite that file?
#1 · edited 16y ago · 16y ago
Lolland
Lolland
Elaborate?
#2 · 16y ago
AP
apandhi
for starting a program after you click a button use

Code:
Shell("cmd.exe /c [program path and name (i.e. C:\Program Files\run.exe)]")
for moving and copying files you have to look up the cmd commands for that. Sorry if the code above has a few errors in it. I havent done VB in a long time!
#3 · 16y ago
NextGen1
NextGen1
Delete the Initial File first....

[php]
Dim FileToDelete as New FileInfo("FilePath\FileName.Extension")
FileToDelete.Delete()
[/php]

Then

[php]
If System.IO.File.Exists("Filepath/FileToMove.Extension) = True Then
System.IO.File.Move("Filepath/FileToMove.Extension", "Path To Move File")
End If
[/php]

If you want to go a-little further you can use P/Invoke and Force Delete the File first...But in either case, delete the file then move to path...


By the way, that is exactly how windows works with overwriting, it just moves quick, when you get the dialog box or message box that says "would you like to overwrite?" what it is actually saying is, would you like to delete the original file and replace it with this one. So manually delete file then move

#4 · edited 16y ago · 16y ago
MvRouC12
MvRouC12
Nextgen you have wayyyy to much time on your hands. haha.
#5 · 16y ago
Jason
Jason
Quote Originally Posted by SSK.Darken View Post
Nextgen you have wayyyy to much time on your hands. haha.
Lol how is that having way to much time on his hands. It was a good and comprehensive answer but it's not like it was pages and pages of explanation. Knowing NextGen, I'd take a stab at <5 mins to write that post.
#6 · 16y ago
Blubb1337
Blubb1337
What Nextgen told you, is kinda logical if you actually think about it. So, good solution :]
#7 · 16y ago
NextGen1
NextGen1
I have 0 time on my hands :P and I still make time to do my "job"
#8 · 16y ago
Jason
Jason
Quote Originally Posted by NextGen1 View Post
I have 0 time on my hands :P and I still make time to do my "job"
And we appreciate it.
#9 · 16y ago
Invidus
Invidus
Quote Originally Posted by SSK.Darken View Post
Nextgen you have wayyyy to much time on your hands. haha.
>.<
Heck, i don't think he'd spend that long.

Maybe. what... less than a few minutes?
But good job NextGen !
#10 · 16y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • HELP: What other programs do I need to learn/start hacking?By ronyoung08 in General Hacking
    0Last post 18y ago
  • [Help]Starting a process[solved]By nathanael890 in Visual Basic Programming
    4Last post 16y ago
  • [Help]How to start another program?[Solved]By Web-Designer in Visual Basic Programming
    11Last post 16y ago
  • Help with veiwing program?By foodman in C++/C Programming
    6Last post 17y ago
  • Getting started in programming hacks for combat arms.By killerthc in Combat Arms Hacks & Cheats
    15Last post 18y ago

Tags for this Thread

None