Results 1 to 12 of 12
  1. #1
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted

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



    Save the settings of your Injector in an .ini 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


     

    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

    <b>Downloadable Files</b> Downloadable Files
    Last edited by Biesi; 08-11-2012 at 02:56 PM. Reason: Errors in Source

  2. The Following 56 Users Say Thank You to Biesi For This Useful Post:

    ahmed_mosha (08-11-2012),alanbraz (11-02-2021),Alviqbal (12-08-2013),angahkechik11 (05-08-2015),ayyitsme (05-13-2019),blacksquad (09-22-2012),carpio.dominic (10-19-2016),daddypappy (10-31-2016),DiMasCyber4rt (01-12-2015),ebrahimenaeems (02-06-2020),fuppum (08-11-2012),gabrielxlr (08-11-2012),GM_AVA (04-09-2013),GR33N Arr0w (03-19-2013),HalooPaiq (06-12-2014),hoathientu11 (01-20-2017),hongping1987 (08-11-2012),hosboos (12-29-2016),hunter2217 (10-06-2016),Intellectual (08-11-2012),Iwannabeamember (12-02-2012),KerozHany (08-11-2012),kmegg (08-20-2015),LANGU (08-11-2012),LaVa* (08-11-2012),lolxd50 (04-16-2022),mahmoud242014 (01-29-2018),mokatitoo (10-08-2016),Mongar701 (11-06-2016),MorionDm (11-09-2016),muhammad jana (06-06-2016),namdinhdz (06-19-2016),New Way (08-15-2012),ogpappy2 (07-03-2018),pDevice (06-12-2013),pein9 (05-18-2019),pest032 (11-06-2016),Pingo (08-11-2012),Pixxar234 (10-09-2016),psychology (09-13-2016),romio1010 (05-29-2020),sallamasyon1 (03-16-2013),SashaHikari (06-17-2013),simmo5159 (10-24-2013),Sky_____ (12-16-2012),testube (03-08-2013),tetobolla (08-19-2012),THEBOYZRULE (08-14-2012),tianz (08-12-2012),Ty Nguyen (04-13-2018),wafinasir (05-16-2016),xKickAss (02-05-2014),zezoooo26 (12-10-2016),ziqirya (08-24-2017),Zkma (08-13-2012),[Mod]Ghost CFFG (08-11-2012)

  3. #2
    DaRk's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Location
    MPGH
    Posts
    1,910
    Reputation
    119
    Thanks
    3,986
    My Mood
    Asleep
    Approved .

  4. #3
    Intellectual's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    GDI
    Posts
    5,389
    Reputation
    785
    Thanks
    16,090
    My Mood
    Yeehaw
    nice work m8

  5. #4
    xKickAss's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Registered 21/09/2011
    Posts
    1,968
    Reputation
    152
    Thanks
    15,979
    My Mood
    Doh
    omg why did you post it, source isn't your and now leechers will be more pro -.-

    Ps: Credits?

  6. #5
    Pingo's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    687
    Reputation
    24
    Thanks
    865
    My Mood
    Blah
    Nice -BiESi
    This should atleast help those looking to add something to their projects.
    XXX

  7. #6
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted
    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?
    Last edited by Biesi; 08-11-2012 at 12:51 PM.

  8. #7
    xKickAss's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Registered 21/09/2011
    Posts
    1,968
    Reputation
    152
    Thanks
    15,979
    My Mood
    Doh
    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

  9. #8
    Biesi's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    4,993
    Reputation
    374
    Thanks
    8,808
    My Mood
    Twisted
    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
    Last edited by Biesi; 08-11-2012 at 02:22 PM.

  10. #9
    KerozHany's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    297
    Reputation
    23
    Thanks
    3,574
    Your Are Awesome Leechers Wont Be Able To Do It

  11. #10
    DarkPladin's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Location
    (◔̯◔)
    Posts
    365
    Reputation
    10
    Thanks
    610
    My Mood
    Devilish
    Nice Job I think It will help a lot !

  12. #11
    Rullez's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Vancouver, Canada
    Posts
    4,069
    Reputation
    316
    Thanks
    26,129
    My Mood
    Aggressive
    Good Source....






  13. #12
    RuShi's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    File Not Found 404!
    Posts
    2,531
    Reputation
    210
    Thanks
    13,008
    My Mood
    Innocent
    /Bump , useful thread .


    MPGH History:
    Member: 02/1/2016
    Contributor: 29/6/2016
    Minion: 25/8/2016
    Former Staff: 07/02/2017
    Minion: 21/9/2017

Similar Threads

  1. Info About Injectors And Dlls
    By jeevin in forum Combat Arms Discussions
    Replies: 4
    Last Post: 03-02-2010, 08:34 PM
  2. Injector and Dll help
    By Xlilzoosk8rX in forum C++/C Programming
    Replies: 8
    Last Post: 01-08-2010, 02:26 PM
  3. [HELP] How do u save settings and check all checkboxes at once?
    By deathninjak0 in forum Visual Basic Programming
    Replies: 15
    Last Post: 11-18-2009, 03:02 PM
  4. Injectors And Dlls
    By TearsOfRaz in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 08-21-2009, 10:37 PM
  5. Simple crossfire hack with out injectors and .dlls
    By ineverhack in forum CrossFire Hacks & Cheats
    Replies: 5
    Last Post: 08-17-2009, 12:14 PM