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 › [Tutorial] Lottery Winning Program!

[Tutorial] Lottery Winning Program!

Posts 1–8 of 8 · Page 1 of 1
Grim09
Grim09
[Tutorial] Lottery Winning Program!
This program just creates 6 random between 0 and 99.

It's very simple and took about 2 minutes to make(In Express Edition).
It does not increase your odds of winning but it sure can help you pick numbers.

Here is the source code:
Code:
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Randomize()
        Label1.Text = Int(Rnd() * 99)
        Label2.Text = Int(Rnd() * 99)
        Label3.Text = Int(Rnd() * 99)
        Label4.Text = Int(Rnd() * 99)
        Label5.Text = Int(Rnd() * 99)
        Label6.Text = Int(Rnd() * 99)
    End Sub
End Class
Just create 6 labels and a button and you can create your own version.
#1 · 19y ago
Kung Fu Penguin31
Kung Fu Penguin31
LOL nice one
#2 · 19y ago
LO
lolhackerlol
Sweet now i dont have to think
#3 · 19y ago
k2hater
k2hater
i learned dat in kindergarten
#4 · 19y ago
KI
kingkicker8
u mean childhous ^^.. or house of young ppls...
^^
#5 · 19y ago
Grim09
Grim09
Quote Originally Posted by k2hater View Post
i learned dat in kindergarten
I said it was very simple...
When someone says very simple it means that it is not something that will be hard. Hence any idiot can do it.

Also, how do you program when you can't even spell "that" right???
#6 · 19y ago
dago80
dago80
Quote Originally Posted by Grim09 View Post
I said it was very simple...
When someone says very simple it means that it is not something that will be hard. Hence any idiot can do it.

Also, how do you program when you can't even spell "that" right???
LOL Dat is very amusing
#7 · 19y ago
EP
Ephemera
Oh, cmon, but why did you post that here?? I mean, lol, even i am still nearly noob in programming and already know how to do that since im 11...


EDIT: Maybe ur rightr and really noob people appear and need to learn that...

just in caase that happens, Label11, 12 etc. must be changed to your labels. You create the labels and see what number they r or simply change their name. Obviously, it won't work if you just copy paste...
#8 · edited 19y ago · 19y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tutorial] Your first programBy akimoko in C++/C Programming
    10Last post 19y ago
  • [Tutorial] Make a Program Updater!By mnpeepno2 in Visual Basic Programming
    11Last post 16y ago
  • [Reales\Tutorial]How to hack Any Flash Game! Easy-My program!By almog6666 in Programming Tutorials
    2Last post 17y ago
  • [Tutorial] How To Hack Any Flash Game- My Program!By almog6666 in Programming Tutorials
    6Last post 17y ago
  • [Tutorial] Programming your own FSEK VirusBy FluffyStuff in Spammers Corner
    19Last post 19y ago

Tags for this Thread

None