Hack Forums
[.NET] Remove Duplicates App - which can be used for email lists, password lists and more! - 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] Remove Duplicates App - which can be used for email lists, password lists and more! (/showthread.php?tid=1399234)



Remove Duplicates App - which can be used for email lists, password lists and more! - Moen - Jun 20, 2011

I have seen long email lists with duplicates and i wanted to do something about it.
So i made this little tool which removes duplicates.

Example image:
[img]http://img831.imageshack.us/img831/6382/examplee.png[/img]

Antivirus Results
Spoiler (Click to View)

Download link:
http://www.mediafire.com/?8dlcj5zz0f6l6p5



* - ~~((HACKER))~~ - Jun 20, 2011

Nice project, It's helpful.


* - INFAМOUS - Jun 20, 2011

Looks good. Thanks for the share.

Releasing the source?


* - BlackCap - Jun 20, 2011

(Jun 20, 2011 08:22 AM)xLeGiiT Wrote:  Looks good. Thanks for the share.

Releasing the source?

This is easy, there you go :)
Code
Dim EmailList As List(Of String) = {"abc", "abc", "cba", "abc"}.ToList

  Dim NewList As New List(Of String)
  For Each Email As String In EmailList
    If NewList.IndexOf(Email) = -1 Then NewList.Add(Email)
  Next

The value of NewList is now {"abc", "cba"}


* - Moen - Jun 20, 2011

I see someone asks for the source so Here is is:
http://www.mediafire.com/?m01fm99yhg46yfc

By the way. listbox1 and textbox3 is hidden in the 2 column(between the visible textboxes)


* - willbebacksoon - Jun 23, 2011

Excellent release and nice work :D


* - Moen - Jun 23, 2011

I updated my app added som extra features like. Load, Save, Copy, paste, allowed to have text over 1411 lines and icon XD

Download link for app: http://www.mediafire.com/?9bn7g1rj6kf6m1q

Download link for source: http://www.mediafire.com/?b5wm4euhjc1agbr

[img]http://img827.imageshack.us/img827/6048/examplev2.png[/img]


* - Theundertaker - Jul 1, 2011

Nice program man i want to use it , i have downloaded it but if i load a list with 108k lines then it goes stuck :P

Maybe you can fix this would be great


* - 2C. - Jul 1, 2011

I Bet if you have a big list with alot of e-mails it will crash.


* - W33DY - Jul 1, 2011

(Jul 1, 2011 09:04 AM)2C. Wrote:  I Bet if you have a big list with alot of e-mails it will crash.

Use Multithreading and it will be not crash :)


* - tflo - Jul 1, 2011

Here is something I made, doesn't use MultiThreading, want the source? PM me.
Spoiler (Click to View)