![]() |
|
[.NET] Simple Combo Switcher - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Simple Combo Switcher (/showthread.php?tid=4446647) Pages: Pages
1
2
|
Simple Combo Switcher - Mr. Carter - Sep 14, 2014 Well I checked few other sources yesterday, which used hella long source to switch the combos. So I checked it myself, since I had a simplier style to do it. So well all you would need is 2 listboxes, 3 textboxes, progressbar and button. so do the sub and insert, Code For Each combos In ListBox1.ItemsThis will split the combo, add pass/email to textbox1 and the other half to textbox2. now double click the first listbox add, Code TextBox3.Text = ListBox1.SelectedItemYou can double click the button make it have, Code ProgressBar1.Maximum = ListBox1.Items.CountAlso to exit the sub you can do it this way, Code If ProgressBar1.Value = ProgressBar1.Maximum ThenBasically here we have a combo switcher which can switch pass:user to user:pass . This is the veery simple way to do this, tho there are more ways which I checked and the code was 5x longer. If im missing something could you be kind enough to say :D * - Cornflower Blue இڿڰۣ-ڰۣ— - Sep 14, 2014 That has to be the worse source ever, you are not even using 'combos' if your for loop. You didn't even name your controls You are using 'MsgBox'. Why are you storing the values in a textbox and not a string? 0/10 even Haze could do better. * - Dialog - Sep 14, 2014 (Sep 14, 2014 08:05 AM)Cornflower Blue Wrote: That has to be the worse source ever, you are not even using 'combos' if your for loop.But OP has a progressbar. 10 points for that. 10/10 * - Cornflower Blue இڿڰۣ-ڰۣ— - Sep 14, 2014 (Sep 14, 2014 08:18 AM)Dialog Wrote: But OP has a progressbar. 10 points for that. Ohh he does? That changes everything! I didn't even notice. Good job OP! * - +Haze - Sep 14, 2014 (Sep 14, 2014 08:05 AM)Cornflower Blue Wrote: That has to be the worse source ever, you are not even using 'combos' if your for loop. Luke. Wut did I tell you? But I agree with you though lol 😏 Also, why didn't you allow the user to save to .txt? Isn't that the whole point? * - Mr. Carter - Sep 14, 2014 (Sep 14, 2014 08:59 AM)+Haze Wrote: Luke. Wut did I tell you? I just wrote the base how it works, since I saw shitloads of bigger codes without this easy coding :D * - +Haze - Sep 14, 2014 (Sep 14, 2014 09:20 AM)Mr. Carter Wrote: I just wrote the base how it works, since I saw shitloads of bigger codes without this easy coding :D Could you please show me links to these "shitloads of bigger codes". I'd like to see :) * - Mr. Carter - Sep 14, 2014 (Sep 14, 2014 09:22 AM)+Haze Wrote: Could you please show me links to these "shitloads of bigger codes". Yeah sec ill update link below in abit, Here's the 1 I found, https://mega.co.nz/#!E99W3Z7a!DpgqHK9OJ4ms2xnGNXLIgmSic6rq2mZtfDB15xs6_2M Virusscan incase y need it, https://www.virustotal.com/en/file/9a7c08cce0c6c70b8b96cbdc789d5db02e2361c396f8a841d815b9110f9286f3/analysis/ (Sep 14, 2014 08:05 AM)Cornflower Blue Wrote: That has to be the worse source ever, you are not even using 'combos' if your for loop. Was lazy to add the loop, I wrote this while I made this tut :D textbox was easier also * - Sn0wX - Sep 14, 2014 wtf? a textbox was easier? Learn to program before making retard threads. * - Only3 - Sep 14, 2014 ur code is real mass first u split textbox3 to textbox 1 and 2 then u add them to listbox2 when u can add textbox3 why u loop listbox1 items if u dont use it * - Mr. Carter - Sep 14, 2014 (Sep 14, 2014 09:43 AM)Sn0wX Wrote: wtf? a textbox was easier? Learn to program before making retard threads. lmao, so your calling me a retard for telling you guys a simplier method to switch combos ? smell faggotry (Sep 14, 2014 09:52 AM)Only3 Wrote: ur code is real mass first u split textbox3 to textbox 1 and 2 then u add them to listbox2 when u can add textbox3 not really, that was my point in the start to see the process what it does, since I used timer in the first time. * - Dialog - Sep 14, 2014 (Sep 14, 2014 09:53 AM)Mr. Carter Wrote: lmao, so your calling me a retard for telling you guys a simplier method to switch combos ? smell faggotry The file you posted won't download for me, but what you posted makes me want to smash my head on my desk. How could you ever even come up with using a timer for something like this 😶 * - Sn0wX - Sep 14, 2014 (Sep 14, 2014 09:53 AM)Mr. Carter Wrote: lmao, so your calling me a retard for telling you guys a simplier method to switch combos ? smell faggotry CONTROLS ARE NOT VARIABLES u prat. You know fuck all * - +Haze - Sep 14, 2014 (Sep 14, 2014 09:53 AM)Mr. Carter Wrote: lmao, so your calling me a retard for telling you guys a simplier method to switch combos ? smell faggotry I read that code you just sent me. The reason why his code is longer is because he adds an importing and exporting feature. And he actually switches properly. * - Only3 - Sep 14, 2014 try it ListBox1.Items.AddRange({"1:2", "3:4"}) ListBox2.Items.AddRange(ListBox1.Items) and for the split For Each s In ListBox1.Items.Cast(Of String).Select(Function(l) l.Split(":")) ' Do what u want with them 'TextBox1.Text = s(0) 'TextBox2.Text = s(1) Next |