[Help] Streamwriter Importing and Saving

Posts 1–3 of 3 · Page 1 of 1
[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?
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...
Hmm.. How would i edit that to read the TextBoxes..
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us