[b][red]This message was edited by Aztech at 2005-12-31 12:34:58[/red][/b][hr]
Someone Heeeelp!!! I have been stuck now for some time on the preceding problem. Actaully I have three visual basic programming questions, but the first has been haunting me now for about a year. Progress on the program I am writing has come to a grinding halt. I am stuck and I know this is not that tough of a problem but have been unsucessful in finding any examples or relevant info. I am so desperatly hoping that someone can enlighten me or show me how to address the problems outlined below. I am running visual basic 5/6
Q#1. I have set up a simple flat file system in which a pool of files reside. When prompted by the user the program randomly selects a file and presents it on screen. When the user hits the command button labled "Next file" the program returns the current file and randomly selects a new file from the pool. My problem is.... how do I tag the current file so that it will not be selected again. Because it goes back into the pool, and as the questions are randomly selected, the same file tends to come up repeatedly. Also do I need to set up some sort of counter such that when the final "untaged" file has been chosen, a message box pops up notifing the user that all files in the data base have been viewed. And how do I reset all the "taged" files back to "untaged" so that the user or another user can run the program.
Q#2. The second question that I have is in regards to sound. Having been presented with a file the user is prompted to make a response and if the response is correct then an image is displaid on screen, (Hands raised for correct and head down and explosion cloud for incorrect.)How can I add a sound file appropriate to the images presented?
Q#3. Is it possible to attach a file folder to the program where I can store all the images and "sounds" that the program uses. Curently the images utilized by the program are stored all over the computer in different places.