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]weird problem with my code

[Help]weird problem with my code

Posts 1–7 of 7 · Page 1 of 1
TR
trevor206
[Help]weird problem with my code
i know this code works in vs 2008
Code:
WebBrowser1.Document.All.GetElementsByName("name").InvokeMember("Click")
but i got VS 2010 pro like 2 days ago and i tried to use it and i get a lil syntax error(i guess it would be a syntax error). here is a pic i have tried typing it out by hand c&p but it wont work so i was just wondering if there is anything wrong with this...(YES I DID GOOGLE IT I FOUND NOTHING)

#1 · 16y ago
Imported
Imported
Quote Originally Posted by trevor206 View Post
i know this code works in vs 2008
Code:
WebBrowser1.Document.All.GetElementsByName("name").InvokeMember("Click")
but i got VS 2010 pro like 2 days ago and i tried to use it and i get a lil syntax error(i guess it would be a syntax error). here is a pic i have tried typing it out by hand c&p but it wont work so i was just wondering if there is anything wrong with this...(YES I DID GOOGLE IT I FOUND NOTHING)

Posting the error it's giving you would be a smart idea don't you think?
#2 · 16y ago
Blubb1337
Blubb1337
Try GetElement instead of GetElements...without the exact error we cannot help you.
#3 · 16y ago
TR
trevor206
Quote Originally Posted by Imported View Post


Posting the error it's giving you would be a smart idea don't you think?
Quote Originally Posted by Blubb1337 View Post
Try GetElement instead of GetElements...without the exact error we cannot help you.
mb guys i forgot to post the error here it is. Error 1 'InvokeMember' is not a member of 'System.Windows.Forms.HtmlElementCollection'.

also blubb that did not work.
#4 · 16y ago
Jason
Jason
Quote Originally Posted by trevor206 View Post
mb guys i forgot to post the error here it is. Error 1 'InvokeMember' is not a member of 'System.Windows.Forms.HtmlElementCollection'.

also blubb that did not work.
Could I ask you where you learn to read? Read the error, you're getting a problem with your "InvokeMember" addition to the code.

Try this:

[php]
WebBrowser1.Document.GetElementById("LALALALA").In vokeMember("click")
[/php]
#5 · 16y ago
Lolland
Lolland
However the element doesn't have an ID, it only has a name.
#6 · 16y ago
TR
trevor206
Quote Originally Posted by J-Deezy View Post


Could I ask you where you learn to read? Read the error, you're getting a problem with your "InvokeMember" addition to the code.

Try this:

[php]
WebBrowser1.Document.GetElementById("LALALALA").In vokeMember("click")
[/php]
Quote Originally Posted by lolland View Post
However the element doesn't have an ID, it only has a name.

yeah it doesn't have an id if it did i wouldn't be asking this although i shouldn't be asking this because it should work but it doesn't.
#7 · 16y ago
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

  • Vb6 Problem With Weapon Code?By jokuvaan11 in WarRock - International Hacks
    6Last post 19y ago
  • READ THIS PLZ I NEED HELP SERIOUS PROBLEM WITH COMBAT ARMS HACK 12/22/08By Frenzy571 in Combat Arms Hacks & Cheats
    5Last post 17y ago
  • Something is wrong! :S -- Problem with VB6 codeBy Darky in WarRock - International Hacks
    13Last post 19y ago
  • Weird Problem with CABy Gnash in Combat Arms Europe Hacks
    10Last post 17y ago
  • (HELP!) FKIN PROBLEM WITH ITBy raphaterz in Call of Duty 4 - Modern Warfare (MW) Hacks
    2Last post 17y ago

Tags for this Thread

None