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][EASY]Existing files[SOLVED]

[HELP][EASY]Existing files[SOLVED]

Posts 1–8 of 8 · Page 1 of 1
QQ
QQmoar
[HELP][EASY]Existing files[SOLVED]
uhm i need the code
FolderBrowserDialog1.SelectedPath & "\Filename" doesn't exist, then my application ends
#1 · 16y ago
Blubb1337
Blubb1337
if io.file.exists(folderbrowserdialog1.selectedpath & "\Filename.we") then
'we
end if

don't forget the extension btw
#2 · 16y ago
QQ
QQmoar
i mean doesn't exist, or does your code mean doesn't exist
#3 · 16y ago
Blubb1337
Blubb1337
It only continues if the file actually exists, prevents closing.
#4 · 16y ago
QQ
QQmoar
you mean if it DOESN"T EXIST then application ends
#5 · 16y ago
Blubb1337
Blubb1337
no. if it doesn't exist, it does nothing at all.


Here's the code you want:

if io.file.exists(folderbrowserdialog1.selectedpath & "\Filename.we") then
'we
else
application.exit
end if
#6 · edited 16y ago · 16y ago
QQ
QQmoar
nvm i got it /solved
#7 · 16y ago
Lolland
Lolland
Marked solved, don't post if older than 7 days, unless completely necessary.
#8 · 16y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help]Easy Global hotkeys[Solved]By jaake in Visual Basic Programming
    7Last post 16y ago
  • [Help]Delete a File[solved]By wicho_koz in Visual Basic Programming
    8Last post 15y ago
  • [Help]Key File[Solved]By MJLover in Visual Basic Programming
    7Last post 16y ago
  • [Help]VB Read text file[Solved]By mo3ad001 in Visual Basic Programming
    3Last post 16y ago
  • Non Existent File (Faith Injector)[SOLVED]By mixalishhh in CrossFire Help
    3Last post 16y ago

Tags for this Thread

None