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 › [Tut visual basics 2008] How to make a Password protection (for beginners)

Exclamation[Tut visual basics 2008] How to make a Password protection (for beginners)

Posts 1–4 of 4 · Page 1 of 1
apezwijn
apezwijn
[Tut visual basics 2008] How to make a Password protection (for beginners)
Tutorial Created By me.
Insipired by M60 and djonidjo.

Alright START Visual Basics 2008,
Press File > New Project

Fill in a desired (=wanted) project name.
Mine Will be: PassProtect

On the left of the screen you should see a Toolbox with all kinds of stuff.

Picture Insrutions:
Select the TextBox from the toolbox and select a place on your form while holding the mouse, now let go of the mouse and tada you have a textbox.

Click on the litle picture to enlarge it.


Now Double click it and type this:
Code:
TextBox1.passwordchar = ("*")
Explaination:
TextBox1. tells the console to use a function of TextBox1
.Passwordchar means to use the function Passwordchar
=("*") gives the value of passwordchar * as a string, withouth the "" the star would mean X like (example) 1X3 = 6 thats for calulating we don't want that.

Add a button from the ToolBox
Do the same as with the textbox only size it less wide.


Make sure the button is selected and look at the bottom left of the screen,
you should see a property's box, look for Text and change it to OK

The Text of a button is what it shows on the button.

Screenshot:


Double Click the button and insert this:
Code:
If TextBox1.Text = "Disired Password" Then
            ' This means if TextBox1.text has the correct password (change it) it does
            ' somthing, in this case it will tell you a msg.
            MsgBox("Correct Password!")
        Else 'this means if the text in textbox1 is not Equal (=) to "Disired Password" then do following. In this case it's a message
            MsgBox("Invalid Password! Please try again.")
        End If
When you've copied this to the button the green text will give you more information,
btw: you make this 'green text' by adding ' before the text. This is what I call a note.

Now your done!
Press F5 to run it (in debug mode wich will tell you if there are any errors in the program when executing a command).

To save it press File > Save all.

To build (first need to save!) press Build > Build PassProtect

You will find the .exe at your Documents then Visual Studio 2008 > Projects >
PassProtect > Bin > Release > PassProtect.exe

(You have to Build it before the .exe will be at that location).


You can download the Source below, open it with VB2008.
#1 · 17y ago
JI
Jianwei
great job Apezwijn , it remind me of my vb source last time

shall learn back vb for awhile.. just that some codes i don't know how to put it in

can i send you a pm in forum ? for helping me out :P
#2 · 17y ago
Noxit
Noxit
Hey djonidjo, thats me!
Great job ape!
#3 · 17y ago
jvwarrior
jvwarrior
Nice tut Apezwijn!
#4 · 17y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Visual Basic 2008 !By Darky in WarRock - International Hacks
    9Last post 18y ago
  • Error In Visual Basic 2008 Express Edition ( Thanking People Who Help )By Gunner03 in Visual Basic Programming
    4Last post 18y ago
  • visual basic 2008By skater310 in Programming Tutorial Requests
    5Last post 18y ago
  • visual basic 2008By skater310 in WarRock - International Hacks
    1Last post 18y ago
  • visual basic 2008 exxpreses helpBy skater310 in Visual Basic Programming
    2Last post 18y ago

Tags for this Thread

#2008#apezwijn#password#protect