Hot Summer Deals are Here!
Celebrate with up to 99% off on 16,900 resources
04
Days
03
Hours
57
Mins
08
Secs

vb.net error (pls help)

Status
This thread has been locked.

Crust

火災
Banned
Feedback score
19
Posts
395
Reactions
175
Resources
0
I have a problem and idk how tf to fix it lol heres the problem: found a fix and im not giving u the code lul
Edit: I used the first answer there but it still gives me the same shit.

ty
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

cunjur

developer
Premium
Feedback score
19
Posts
67
Reactions
121
Resources
0
what's the actual error?
 

Crust

火災
Banned
Feedback score
19
Posts
395
Reactions
175
Resources
0
what's the actual error?
im mean it aint an error, but the proxy won't load and i can't figure out why. It worked when I indiviually input them but when they come from a text file it dont work.

EDIT: Actually sometimes when I close the program, I get an error in visual studio on the end of the button2 click sub (Next)

System.InvalidOperationException: 'List that this enumerator is bound to has been modified. An enumerator can only be used if the list does not change.'
 
Last edited:
Banned forever. Reason: Admit to Ban Evading (https://gyazo.com/914aa78fd08b17fc7e08b5c59d11424a)

cunjur

developer
Premium
Feedback score
19
Posts
67
Reactions
121
Resources
0
im mean it aint an error, but the proxy won't load and i can't figure out why. It worked when I indiviually input them but when they come from a text file it dont work.
how are you getting the proxies from the .txt
 

Crust

火災
Banned
Feedback score
19
Posts
395
Reactions
175
Resources
0
how are you getting the proxies from the .txt
I made an edit up there because there was a tiny error but idk if its relevant.

Heres the code for loading the proxies:

giphy.gif

and
giphy.gif
 
Last edited:
Banned forever. Reason: Admit to Ban Evading (https://gyazo.com/914aa78fd08b17fc7e08b5c59d11424a)

cunjur

developer
Premium
Feedback score
19
Posts
67
Reactions
121
Resources
0
I made an edit up there because there was a tiny error but idk if its relevant.

Heres the code for loading the proxies:
Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


        OpenFileDialog1.ShowDialog()
        streamer = IO.File.OpenText(OpenFileDialog1.FileName)
        Dim mystring() As String = streamer.ReadToEnd.Split(vbNewLine)




        ListBox1.Items.AddRange(mystring)


    End Sub
and
Code:
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Button2.Enabled = False
        Button1.Enabled = False

        For Each item In ListBox1.Items
            Dim prox As String = item.ToString
            Dim li = prox.Split(":")
            Dim port As Integer = Int32.Parse(li(1))
            Console.WriteLine(li(0))
            Console.WriteLine(port)
            InternetSetProxy(li(0), port, True)

            Label4.Text = item
            WebBrowser1.Navigate(TextBox3.Text)
            pause(10000)


        Next
what do they look like in the text box?
 

cunjur

developer
Premium
Feedback score
19
Posts
67
Reactions
121
Resources
0
when you output these to console
:
Console.WriteLine(li(0))
Console.WriteLine(port)

what's the output?
 
Status
This thread has been locked.
Top