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 › [Help] need help with windows services stopping

[Help] need help with windows services stopping

Posts 1–4 of 4 · Page 1 of 1
XG
XGelite
[Help] need help with windows services stopping
heres my code :

Code:
 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

        Dim controller As New ServiceController
        controller.MachineName = "."
        controller.ServiceName = "Secondary Login"
        Dim status As String = controller.Status.ToString '- Error Object reference not set to an instance of an object.

        ' Stop the service
        controller.Stop()

        ' Start the service
        controller.Start()
    End Sub
get this error :

Code:
Object reference not set to an instance of an object.
thx
#1 · edited 16y ago · 16y ago
Zoom
Zoom
Try this: Dim controller As New Object .

Idk if it works.

What are it supposed to do?
#2 · 16y ago
XG
XGelite
Quote Originally Posted by hejsan1 View Post
Try this: Dim controller As New Object .

Idk if it works.

What are it supposed to do?
i edited it so is shows where i got the error
#3 · 16y ago
XG
XGelite
Never mind..im doing it a different way now. Thanks for tryin to help
#4 · 16y ago
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Tags for this Thread

#services#stopping#windows