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]Generate Random Number

[TuT]Generate Random Number

Posts 1–2 of 2 · Page 1 of 1
IA
Iamazn1
[TuT]Generate Random Number
Code:
  Dim rnd As New Random
        TextBox1.Text = rnd.Next(0, 10).ToString("0")
The 0 is Minimum Value
The 10 is Max
The "0" is # of numbers, ie, 0000 would generate a 4 digit number, IF you change 10 to a 4 digit number
#1 · 16y ago
JI
JIGS4W
Hmmmmm... I think I get it. Wait I got it.
#2 · 16y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • Random Number GeneratorBy Iam"iDude" in Visual Basic Programming
    5Last post 18y ago
  • [Question]Random Number+Letter GeneratorBy Dreamer in Visual Basic Programming
    4Last post 16y ago
  • Generating Unique Random Numbers?By apandhi in C++/C Programming
    10Last post 16y ago
  • [Question] Random number below a set numberBy That0n3Guy in C++/C Programming
    4Last post 16y ago
  • [Tut]Generate Your Own HardwareIDBy NextGen1 in Visual Basic Programming
    16Last post 16y ago

Tags for this Thread

#number#random#tutgenerate