| Author |
Searching files from a drive and displaying them in an window
|
sankar dunga
Greenhorn
Joined: Mar 07, 2011
Posts: 16
|
|
Dear all,
It might be the simple question. Please give me best answer.
I have an external disk. I want to search for what files exists in that disk and wants display them in an window(ie in GUI).
And later i want select one or more files from them and then want read them to my local host memory.
And later can i delete those files from external disk?
Please give answer how can i do it?
thank you
with regards
sankar
|
 |
Hunter McMillen
Ranch Hand
Joined: Mar 13, 2009
Posts: 490
|
|
What have you tried?
Hunter
|
"If the facts don't fit the theory, get new facts" --Albert Einstein
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9955
|
|
Your question is rather broad to get much help here. What specifically are you having trouble with? What have you tired, and how is it working?
Folks here love to help you solve your problems, but they don't really like to write your code for you.
As with all projects, I would suggest breaking it down into smaller, discrete parts. The various tasks I see that are all independent of each other are:
1) get a list of files from a given directory
2) Given a list of files, display them
3) Allow a user to select one or more files from a GUI
4) given a list of files, read them into memory
5) given a file, delete it.
Each and every one of these five items can be written without any of the other four working. Write the methods independently of each other. Test each until you are 100% sure they are bullet proof, then test them all again and again.
Only when you are 1000% sure they work should you start wiring them together.
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
|
You may find this helpful for steps 1 -3.
|
Joanne
|
 |
 |
|
|
subject: Searching files from a drive and displaying them in an window
|
|
|