PDA

View Full Version : Stuck on project :: help


eXecallibur
11-25-2006, 08:48 AM
Hello, I am looking for some help to get my project on the go. I've been fooling around trying to get it accomplished with little success. This is my ultimate goal:

The following will be done from a CD/DVD and not from the hard drive.
-Program starts: ... gets information from .ini file
-Program performs 4 searches for files in specific folders.
Folder1, Folder2, Folder3, Folder4.
These will be executable files, the item text = the name of the file; the item data = path to the program
-The results of the searches will populate a listbox. The program will start a timer for 3 seconds to see if the user wants to continue or cancel, then the program will initiate.
-Program will run each item in the listbox until there is no more item left, but it will have to wait until each one is done before going on to the next one.
During each file execution, the program will increase a progress bar, which will be determined by calculating the amount of items in the listbox the percentage of available progress to give you a total amount per/each install.
-Once the program has completed all the file executions from the listbox, the program will exit.

My problem is that I am unsure how to accomplish the execute each file from the listbox until there is no more left. I was thinking about a "for statement", but so far I've been unsuccessful.
Second problem is working on the progress bar to calculate the amount of time left and to increment the % at each interval when the file install is complete.

I've been around for some time now, just passively looking at the forums, which I have to say is amazing. You all do great work and I applaud you for it. I would appreciate any help you can direct me too. I look forward to your comments and suggestions.

eXecallibur