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 › Need assistance...

Need assistance...

Posts 1–4 of 4 · Page 1 of 1
ROUGHS3X
ROUGHS3X
Need assistance...
Real quickly I need some help setting the location on screen of 5 forms. I want form 1, the main form, to remain center screen no matter the size of the users display.

I want form 2 and 3 to be exactly 1/2 the height of form 1 and stay on the left side of form 1 stacked and right up against it.

Likewise with forms 4 and 5 but they will be on the right side of form 1. Basically laid out like so...

Code:
[FORM 2][ FORM 1 ][FORM 4] [FORM 3][ FORM 1 ][FORM 5]
Ok so none have a border and I do not want them to be movable. any suggestions? Do I need to return the location (x,y) of the main form, form 1, first? then set the locations of the other forms around it?
#1 · 16y ago
guza44_44
guza44_44
If you click on the form1 and go to properties there should be an option that says where it starts, im not currently on my computer so i cant remember what it says but you just change that to "centerscreen"

and for the other forms just put this in the code i think it might work for forum_load:

Code:
if me.visible = true then
me.location = new point(x,y) 'change the x and the y to what you want
the code is something like that like i said im not on my computer lol
#2 · 16y ago
ROUGHS3X
ROUGHS3X
Quote Originally Posted by guza44_44 View Post
If you click on the form1 and go to properties there should be an option that says where it starts, im not currently on my computer so i cant remember what it says but you just change that to "centerscreen"

and for the other forms just put this in the code i think it might work for forum_load:

Code:
if me.visible = true then
me.location = new point(x,y) 'change the x and the y to what you want
the code is something like that like i said im not on my computer lol
Thank you. My greatest concern is that I'm using a 17" widescreen. Will the x,y remain the same for someone who is using, say, a 32" widescreen?

See I can't remember either but there was code that was like (x+1,y+1)/2 or some bs like that which set screen positions. I'm going back like 8 years here.

Edit:

I'm retarded. I forgot all about top and left. ie...
me.left = formmain.left - 200 , etc.
#3 · edited 16y ago · 16y ago
ĎÁŗҚ ĉҰρҢềŔ
ĎÁŗҚ ĉҰρҢềŔ
Quote Originally Posted by ROUGHS3X View Post
Thank you. My greatest concern is that I'm using a 17" widescreen. Will the x,y remain the same for someone who is using, say, a 32" widescreen?

See I can't remember either but there was code that was like (x+1,y+1)/2 or some bs like that which set screen positions. I'm going back like 8 years here.

Edit:

I'm retarded. I forgot all about top and left. ie...
me.left = formmain.left - 200 , etc.
Yea it should
#4 · 16y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

  • Developing an aimbot that works with information stored in memory... Need assistanceBy ScottOwnsK in General
    2Last post 19y ago
  • Needing Assistance With The Pub HackBy asiansh0t in Combat Arms Hacks & Cheats
    0Last post 17y ago
  • Microsoft Visual Studio (Need assistance lol)By Noobkake in Combat Arms Help
    5Last post 16y ago
  • [NEW Release - Kinda] REZ Files Cracked OPEN!! Although Need Assistance. Look inside.By neelvaka in Combat Arms Hacks & Cheats
    13Last post 17y ago

Tags for this Thread

#assistance