Grey wrote:
Quote:
This question really involves creating and reading/writing files in VB6 Pro
>
I am involved in business training and would like to develop a VB project
which will enable testing of candidates and provide proof of competency.
Each candidate will have their own laptop in training which they will use.
>
I want a program which will read a editable textfile (sort of thing which
could be copied into the computer via a memstick), display the questions
and identify which is the correct response. Questions are multichoice type
with 1 correct answer. The candidate goes through ten questions until the
end until they get to a commit box where the results are calculated,
displayed and - more importantly - a file is generated recording the
candidates name (they would need to log into the program) and the final
result.
I'd use a simple XML file with all the questions.
This can be parsed easily using the MS XML library (There are numerous
samples online about this).
The results can be appended to another file, either a single line or for
a more structured "they got 1,2,4,7,8 right and 3,5,6 wrong", XML again.
Quote:
To increase flexibility, it would be nice to have a survey form after the
test and another textfile created from the response. Survey results may have
to accommodate "comments" texts as well.
Plain text should be ideal for this.
Open, print, print, close
Quote:
These created files would be copied off to a memstick and taken to another
"Lecturers" computer and preferably imported to an Excel sheet.
>
The text file with the questions/answer must be easily editable (Security is
not an issue with this project), an advancement of this would be to pick 10
from a list of 20+ questions at random.
>
It may be possible that this system could be used to cover many different
subjects, so it may require separate Q & A files - or one where the
questions are separated.
Different source question files.
--
Dean Earley (dean.earley@icode.co.uk)
i-Catcher Development Team
iCode Systems