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 › Basic helpful snippits

Basic helpful snippits

Posts 1–4 of 4 · Page 1 of 1
Ugleh
Ugleh
Basic helpful snippits
Most of these Snippits I have made, some of them I use alot, and others are really helpful. I would be updating this ever so often.

Split Text
Code:
 Dim fullText As String
        Dim parts() As String

        fullText = TextBox1.Text

        parts = Split(fullText, Environment.NewLine)
With this code you have a textbox, that has more then 1 line, lets say
"Hello
There
Bob"
Then what this code will do is it will split each line from the enter, so that
parts(0) = Hello
parts(1) = There
parts(2) = Bob
So that if you want, you can now use something like
Textbox2.text = parts(1), so now Textbox2's text will be Textbox1's line 2.

Text Replacer
Code:
   Dim output As String = TextBox1.Text.Replace(TextBox2.Text, "")
        TextBox1.Text = output
With this code put this in a button, and put 2 textboxes out. Whatever is in Textbox2 will be deleted from Textbox1. This is meant for replacement, but we are simply replacing with "", meaning nothing.

Open Programs
Code:
Shell("notepad.exe")
This code will Open Notepad, anything like this the start position is System32.
A more basic would look like
Code:
Shell("C:\Program Files\Internet Explorer\iexplore.exe")
Open Website URL
Code:
System.Diagnostics.Process.Start("http://website.com")
Email Link
Code:
System.Diagnostics.Process.Start("mailto:" & "Im@Ugleh.com")
More to come, Im just tired atm :P.
#1 · 16y ago
Zoom
Zoom
Quote Originally Posted by Ugleh View Post
Open Website URL
Code:
System.Diagnostics.Process.Start("http://website.com")
You can do easier [php]process.start("http://website.com")[/php] or Ugleh´s webiste start!
#2 · 16y ago
GE
geebes888
Open Programs
Code:
Shell("notepad.exe")
It didn't work for combatarms.exe
#3 · 16y ago
ac1d_buRn
ac1d_buRn
Quote Originally Posted by geebes888 View Post
It didn't work for combatarms.exe
Worked for me

Code:
Shell("C:\Nexon\Combat Arms\Combatarms.exe")
#4 · 16y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • VB basics & help!By Trixiez in WarRock - International Hacks
    2Last post 19y ago
  • Virtual Basic Help!! Experts only!!By M-Tune in WarRock - International Hacks
    10Last post 19y ago
  • visual basics help or vb6By josephjboogie3 in Visual Basic Programming
    2Last post 18y ago
  • Visual Basic help?????By g36gunner in WarRock - International Hacks
    3Last post 18y ago
  • Visual basic helpBy iHackR in WarRock - International Hacks
    4Last post 18y ago

Tags for this Thread

#basic#helpful#snippits