OpenFileDialog ofd = new OpenFileDialog();
ofd.Filter = "Text Documents|*.txt|All Files|*.*";
ofd.ShowDialog();
string filename = ofd.FileName;
SortList(filename);
List<string> l1 = new List<string>();
List<string> l2 = new List<string>();
List<string> l3 = new List<string>();
List<string> l4 = new List<string>();
public void SortList(string file)
{
string[] names = System.IO.File.ReadAllLines(file);
int list = 1;
for(int i = 0; i < name.Length; i++)
{
switch(list)
{
case 1:
l1.Add(name[i]);
case 2:
l2.Add(name[i]);
case 3:
l3.Add(name[i]);
case 4:
l4.Add(name[i]);
case 5:
l1.Add(name[i]);
list = 1;
}
list++;
}
//Start Background Workers
backgroundWorker1.RunWorkerAsync();
backgroundWorker2.RunWorkerAsync();
backgroundWorker3.RunWorkerAsync();
backgroundWorker4.RunWorkerAsync();
}
public void CheckList(List<string> names)
{
for(int i = 0; i < names.Count(); i++)
{
try
{
WebClient wc = new WebClient();
wc.DownloadString("https://instagram.com/" + names[i]);
lv_unavail.Invoke(new Action(() => lv_unavail.Items.Add(names[i])));
}
catch(Exception ex)
{
lv_avail.Invoke(new Action(() => lv_avail.Items.Add(names[i])));
}
}
}
CheckList(l1);
CheckList(l2);
CheckList(l3);
CheckList(l4);
PanelSMM said:Although I am to lazy to follow the tutorial, I guarantee this will work, he has made me a checker before!
Doobie said:Lol, I'm a noob. Where do we type these codes in at?
Doobie said:Lol, I'm a noob. Where do we type these codes in at?
Cred said:I need help with that too lol!~
Joy said:It is in VB.net, I believe.
I'm trying to make it now!
Wish me luck.
This is pretty rad. Thanks for this!sdk said:It's C# and use Visual Studio.
Zeus said:Probably the best thread I've seen in a while.
Just trying to ruin the ig community* it's whatever unblock me on skype nerd.sdk said:Lol, just trying to help the community out a bit.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?