Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 596 Vote(s) - 3.45 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.Net] Making a cool File/Directory Search

#1
Searching Directories and Sub-directories:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Files in Directories and sub-directories:

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


The SearchOption is currently AllDirectories, if you just want to limit it to the Top Directories then change the SearchOption.

Note: You will need a ListBox named ListBox1 for testing the above code.

Making a Cool File search

[Image: FileSearch.png]

Controls needed:
  • ImageList (iconList)
    ColorDepth = Depth32Bit
    ImageSize = 32, 32
  • ListView (ListView1)
    Add 3 Coloumns (Filename, Size, Path)
    View = Details
    SmallImageList = iconList
  • ComboBox (ComboBox1)
  • TextBox (TextBox2)
  • ProgressBar (ProgressBar1)
  • Label (Label1)
  • A Button for running the code

This is all the code you need in a button click event.

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


That's all for now, happy coding.
Reply

#2
nice program will be handy for quick searches
Reply

#3
I was searching for this!!! Thanks :smile: now my html/txt injector is complete!!!
Reply

#4
No problem, glad it could help you. :smile:
By the way, that is also an example for how to use a Progressbar correctly.
Reply

#5
NICE , THX FOR SHARE KEEP IT UP
Reply

#6
Quote:(03-21-2013, 02:44 AM)404hacker Wrote:

[To see links please register here]

you have not declared strpath and i cant see any codes for the combobox there can you please help me

Iirc the strPath is supposed to be the combobox. Why not a textbox? Because it can be used to show the history of last searched items.
The textbox was probably used for extensions. In the snippet it's hard-coded to search for all extensions (*.*).
Reply

#7
Why do you have this in the loop?

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply

#8
Why do you have this in the loop?

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply

#9
Quote:(03-24-2013, 06:17 AM)ArkPhaze Wrote:

[To see links please register here]

Why do you have this in the loop?

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

It's an old code, I don't know why I put that.
The app will stop responding because of the frequent update of the ListView, so probably a lazy way to prevent it. Not sure.
Reply

#10
Quote:(03-24-2013, 06:17 AM)ArkPhaze Wrote:

[To see links please register here]

Why do you have this in the loop?

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

It's an old code, I don't know why I put that.
The app will stop responding because of the frequent update of the ListView, so probably a lazy way to prevent it. Not sure.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through