Search function

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
9 posts Page 1 of 1
Contributors
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Search function
clanc789
Hey Coders,

I got a question on how to make this:
How can I make a program with a textbox in which you enter the name of a file and it searches for it on your hdddisk. So if i type "notepad" (without the "" ofc) it will search for the good old fashioned notepad. The results should be displayed in a listview.

Ill award the one who helped me out with a +rep & 10 credits. Thank you!
Practice makes perfect!

VIP since: 6-10-2011
Filip
Coding Guru
Coding Guru
Posts: 833
Joined: Wed Jan 05, 2011 3:59 pm

Re: Search function
Filip
CodenStuff wrote:
Nope, it's just your sick and dirty mind. You sick twisted warped little pervo :D
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Search function
clanc789
Dont work (both) i searched on google and YT but cant find anything. Please someone?
Practice makes perfect!

VIP since: 6-10-2011
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Search function
MrAksel
Wait ca 30 min?
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Search function
clanc789
LOL Wait 30 mins for? Your help? Ofc I will :D (gtg eating anyhow!).

Thx in advance already!
Practice makes perfect!

VIP since: 6-10-2011
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Search function
MrAksel
Soory im late, think this works
You do not have the required permissions to view the files attached to this post.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Search function
clanc789
Works, but how do i display the results in a listbox? I need that too :D
Practice makes perfect!

VIP since: 6-10-2011
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: Search function
MrAksel
You know where it has that MsgBox thing? You can change
Code: Select all
Invoke(Sub() MsgBox("Match at '" + f + "'."))
in Form1.vb to
Code: Select all
Invoke(Sub() ListBox1.Items.Add(f))
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
clanc789
Coding Guru
Coding Guru
Posts: 786
Joined: Tue Nov 02, 2010 4:45 pm

Re: Search function
clanc789
Thanks so much MrAksel!!! (send you +rep & 9 creds now, you alrdy got one for the app download).
Practice makes perfect!

VIP since: 6-10-2011
9 posts Page 1 of 1
Return to “Tutorial Requests”