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 › MultiPlayer Game Hacks & Cheats › CrossFire Hacks & Cheats › CrossFire Spammers, Injectors and Multi Tools › Save Settings (and .dlls) of your Injector in vb.net

PostSave Settings (and .dlls) of your Injector in vb.net

Posts 1–12 of 12 · Page 1 of 1
Biesi
Biesi
Save Settings (and .dlls) of your Injector in vb.net


Save the settings of your Injector in an .ini file.




 
With .DLL File

Extract INIFormat_dll.rar

Add INIFormat.dll to references
(Rightclick Project > Add references)

 









Create subs/functions to read/write/delete

Code:
Private Sub SaveAll() Handles Me.FormClosing
    Dim INI As New INIFormat.UseINI 'access to INIFormat.dlls functions
    INI.Path = My.Application.Info.DirectoryPath & "\settings.ini" 'defines path of .ini
    My.Computer.FileSystem.DeleteFile("INI.Path", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)

    INI.WriteValue("Settings", "Close", CheckBox1.Checked) 'Save the state of CheckBox1 (True or False)
    INI.WriteValue("Settings", "Auto", RadioButton1.Checked) 'Save the state of RadioButton1 (True or False)
    INI.WriteValue("Settings", "Process", TextBox1.Text) 'Save the process 
    INI.WriteValue("DLLs", "Count", ListBox1.Items.Count) 'Save the amount of DLLs

    For Each DLL In ListBox1.Items
        Dim counter As Integer 
        counter = counter + 1
        INI.WriteValue("DLLs", counter, dlls4inj.Item(DLL)) 'Save path of each DLL
    Next

End Sub
Code:
Private Sub ReadAll() Handles Me.Load
    Dim INI As New INIFormat.UseINI 'access to INIFormat.dlls functions
    INI.Path = My.Application.Info.DirectoryPath & "\settings.ini" 'defines path of .ini

    CheckBox1.Checked = INI.ReadValue("Settings", "Close") 'Changes the state of CheckBox1 to the saved one
    If INI.ReadValue("Settings", "Auto") = "False" Then
        RadioButton2.Checked = True 'Manual Injection
    Else
        RadioButton1.Checked = True 'Auto Injection
    End If

    For i As Integer = 1 To INI.ReadValue("DLLs", "Count") Step 1
        Dim FileName As String
        Dim DLLPath As String = INI.ReadValue("DLLs", i)
        FileName = DLLPath.Substring(DLLPath.LastIndexOf("\"))
        FileName = FileName.Replace("\", "")
        Try
            dlls4inj.Add(FileName, DLLPath)
            ListBox1.Items.Add(FileName)
        Catch ex2 As Exception
        End Try
    Next
End Sub


 
With .VB File

Extract UseINI_vb.rar

Add an existing Item
(Rightclick Project > Add > Add existing)

 








Create subs/functions to read/write/delete

Code:
Private Sub SaveAll() Handles Me.FormClosing
    Dim INI As New UseINI 'access to UseINI.vbs functions
    INI.Path = My.Application.Info.DirectoryPath & "\settings.ini" 'defines path of .ini
    My.Computer.FileSystem.DeleteFile("INI.Path", FileIO.UIOption.OnlyErrorDialogs, FileIO.RecycleOption.DeletePermanently)

    INI.WriteValue("Settings", "Close", CheckBox1.Checked) 'Save the state of CheckBox1 (True or False)
    INI.WriteValue("Settings", "Auto", RadioButton1.Checked) 'Save the state of RadioButton1 (True or False)
    INI.WriteValue("Settings", "Process", TextBox1.Text) 'Save the process 
    INI.WriteValue("DLLs", "Count", ListBox1.Items.Count) 'Save the amount of DLLs

    For Each DLL In ListBox1.Items
        Dim counter As Integer 
        counter = counter + 1
        INI.WriteValue("DLLs", counter, dlls4inj.Item(DLL)) 'Save path of each DLL
    Next

End Sub
Code:
Private Sub ReadAll() Handles Me.Load
    Dim INI As New UseINI 'access to UseINI.vbs functions
    INI.Path = My.Application.Info.DirectoryPath & "\settings.ini" 'defines path of .ini

    CheckBox1.Checked = INI.ReadValue("Settings", "Close") 'Changes the state of CheckBox1 to the saved one
    If INI.ReadValue("Settings", "Auto") = "False" Then
        RadioButton2.Checked = True 'Manual Injection
    Else
        RadioButton1.Checked = True 'Auto Injection
    End If

    For i As Integer = 1 To INI.ReadValue("DLLs", "Count") Step 1
        Dim FileName As String
        Dim DLLPath As String = INI.ReadValue("DLLs", i)
        FileName = DLLPath.Substring(DLLPath.LastIndexOf("\"))
        FileName = FileName.Replace("\", "")
        Try
            dlls4inj.Add(FileName, DLLPath)
            ListBox1.Items.Add(FileName)
        Catch ex2 As Exception
        End Try
    Next
End Sub


You may have to edit.




Scans:
Projects_&_Files [0/41]
Projects_&_Files [0/20]

Download contains:
Projectfolder with example.exe (using .vb)
Projectfolder with example.exe (using .dll)
INIFormat.dll
UseINI.vb

I didn't know where to post so I did where all the Injectors where posted that coders can see

Projects_&_Files_mpgh.net.rar
#1 · edited 14y ago · 14y ago
DaRk
DaRk
Approved .
#2 · 14y ago
IN
Intellectual
nice work m8
#3 · 14y ago
XK
xKickAss
omg why did you post it, source isn't your and now leechers will be more pro -.-

Ps: Credits?
#4 · 14y ago
Pingo
Pingo
Nice -BiESi
This should atleast help those looking to add something to their projects.
XXX
#5 · 14y ago
Biesi
Biesi
Quote Originally Posted by xKickAss View Post
omg why did you post it, source isn't your and now leechers will be more pro -.-

Ps: Credits?
Oh I'm sure it's my source.
idc about Leechers beeing pro, where is the problem?
#6 · edited 14y ago · 14y ago
XK
xKickAss
Quote Originally Posted by -BiESi View Post


Oh I'm sure it's my source.
idc about Leechers beeing pro, where is the problem?
Sure it's your source hahahaha i can find 300 on google same of your, and that wont help coders, it's easy, just leechers
#7 · 14y ago
Biesi
Biesi
Quote Originally Posted by xKickAss View Post


Sure it's your source hahahaha i can find 300 on google same of your, and that wont help coders, it's easy, just leechers
So and because you can find more on google? Why don't you give credits to the first one who created the "Source" of your injectors browse function
How about crediting MS for the API or VB.NET ...
stupid
#8 · edited 14y ago · 14y ago
KerozHany
KerozHany
Your Are Awesome Leechers Wont Be Able To Do It
#9 · 14y ago
DarkPladin
DarkPladin
Nice Job I think It will help a lot !
#10 · 14y ago
Rullez
Rullez
Good Source....
#11 · 14y ago
Heroes
RuShi
/Bump , useful thread .
#12 · 9y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

  • [HELP] How do u save settings and check all checkboxes at once?By deathninjak0 in Visual Basic Programming
    15Last post 16y ago
  • Simple crossfire hack with out injectors and .dllsBy ineverhack in CrossFire Hacks & Cheats
    5Last post 17y ago
  • Injectors And DllsBy TearsOfRaz in Combat Arms Hacks & Cheats
    6Last post 17y ago
  • Injector and Dll helpBy Xlilzoosk8rX in C++/C Programming
    8Last post 16y ago
  • Info About Injectors And DllsBy jeevin in Combat Arms Discussions
    4Last post 16y ago

Tags for this Thread

None