Results 1 to 3 of 3
  1. #1
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored

    [Help] Streamwriter Importing and Saving

    Say i was making an injector. And wanted to save the DLL and Process using Streamwriter. How would i do that. And how would i import the file on program startup?

  2. #2
    mnpeepno2's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    In a barren wasteland
    Posts
    905
    Reputation
    10
    Thanks
    81
    well, here's my code to read from an ini...

    Code:
    Dim userpass As New System.IO.StreamReader(Application.StartupPath & "\config.ini")
            Dim line1, line2, line3 As String
            line1 = userpass.ReadLine()
            line2 = userpass.ReadLine()
            line3 = userpass.ReadLine()
            userpass.Close()
            line2 = line2.Substring(10)
            line3 = line3.Substring(9)
            If line2 = TextBox1.Text And line3 = TextBox2.Text Then
                Process.Start("explorer.exe")
                closestate = 2
                Timer2.Enabled = True
                Timer5.Enabled = False
                Form2.Text = "Unlocking..."
                Form2.Label1.Text = "Unlocking your computer..."
                Form2.Show()
            Else
                Label3.Visible = True
                If line2 <> TextBox1.Text Then
                    Label3.Text = "     Incorrect Username"
                Else
                    If line3 <> TextBox2.Text Then
                        Label3.Text = "     Incorrect Password"
                    End If
                End If
            End If
    Ps, its from windows logger pro...


    -----------------------------------------------

    My site: here
    My Blog: here
    My member's area: here
    Minecraft Sever Forum: here


    Minecraft Servers:

    Public:



    Private:



  3. #3
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored
    Hmm.. How would i edit that to read the TextBoxes..

Similar Threads

  1. [Solved] *<I Need Help With Hacks And Xtrap>*
    By Birdy in forum CrossFire Help
    Replies: 5
    Last Post: 06-20-2012, 10:07 AM
  2. [Help Request] HELP PLEASE IMPORTANT
    By plaxton99 in forum CrossFire Help
    Replies: 14
    Last Post: 05-27-2011, 05:07 PM
  3. [Help]Reading address values and saving them? - VB
    By master131 in forum Visual Basic Programming
    Replies: 17
    Last Post: 09-26-2010, 08:31 AM
  4. [Help] Dll Loading and Saving via .INI[Solved]
    By XxDragonSharKxX in forum Visual Basic Programming
    Replies: 9
    Last Post: 07-01-2010, 02:31 AM
  5. [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