API,AIM,coding,actually,does,several,things,m
Quick Search for:  in language:    
API,AIM,coding,actually,does,several,things,m
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
RentACoder Stats

 Code:  lines
 Jobs: 0 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for RentACoder.
Wrapping Scrolling Text
By Paranoid_Androi d on 7/2


Create A Dummy File
By AML on 7/2


Click here to see a screenshot of this code!Captionbar manipulation!
By Peter Hebels on 7/2

(Screen Shot)

A Game Of War
By Co0nest on 7/2


Click here to see a screenshot of this code!KeyGen Example
By Bengie|NET on 7/2

(Screen Shot)

Click here to see a screenshot of this code!OpenBrowser v1.9
By Orlando Jerez on 7/2

(Screen Shot)

SendMessageBySt ring() Example
By Jaime Muscatelli on 7/2


Click here to see a screenshot of this code!FirstSunday
By Jan Paul Penning on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Ikonz v1.0
By Gaurav Creations on 7/2

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Search for file(s) on a Drive with API

Print
Email
 
winzip icon
Submitted on: 4/2/2000 1:12:22 AM
By: Mike Canejo  
Level: Intermediate
User Rating: By 16 Users
Compatibility:

Users have accessed this code 4399 times.
 

(About the author)
 
     My coding actually does several things. The main thing is that it can search an entire Drive and all of its Directories for a file you specify and at the end of the search display the results of it. Or you can do the same thing but this time look for any file with an extention you specify. I made this search for the file using API but I left a function in there you can edit to search for the files without API but it's a little slower and not recommended. This Screen Shot can pretty much explain it all... <br><BR>E-mail: mikecanejo@hotmail.com AIM: Mike3dd

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for langauges that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 35 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
4/2/2000 9:08:42 PM:mdscs
HECK YA!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/4/2000 10:23:47 PM:Wackowoh
1. Nice code, 5 globes. <br>
2. i was 
wondering, why did you give me only 1 
globe on my Mp3 Player? 
http://www.planetsourcecode.com/vb/scrip
ts/ShowCode.asp?lngWId=1&txtCodeId;=6967
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/16/2000 10:59:18 AM:Cool Man
I finally find something like this! 
thanx man!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/17/2000 6:58:35 PM:Mike Canejo
Thank you!If anyone of you 
programmers are advanced enough you 
could make this scan files while it 
searches the Drive for Virus(s) or 
Deltrees or PWS's etc.. just a 
thought 
-Mike
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/23/2000 8:33:01 PM:PBFJ@Hotmail.com
I dont know if it is just me, but i 
can't get it to work, When i for 
example enter NotePad where 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/23/2000 8:34:37 PM:PBFJ@Hotmail.com
I dont know if it is just me, but i 
can't get it to work, When i for 
example enter NotePad where "Example" 
was before and click "Search" nothing 
happens beside the form is getting 
larger.Please help me.........
Thanks 
Paw(DK)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/29/2000 12:25:56 PM:Adel Bamohriz
To get this great code working you may 
need to add some lines in [Private Sub 
cmdgo_Click()], exactly next to this 
line of code:
lstdirs.AddItem 
Drive1.Drive 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/29/2000 12:31:01 PM:Adel Bamohriz
the lines which to be added in the code 
are:
'***
If Len(lstdirs.List(0)) > 2 
Then
    lstdirs.List(0) = 
Mid(lstdirs.List(0), 1, 2)
End If
'***
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/3/2002 11:31:09 PM:Moumen
can u tell me how to create a program 
that search my ftp site for mp3? please 
someone help me
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/8/2002 6:16:59 PM:Nick
Can this be implemented in an error 
handler function, like say someone 
moves one of your support files, an 
image or something, can you a vb scan 
the drive for that file, and load it 
into your application from its new 
location and then save the path as that 
files new location?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | RentACoder Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.