Hi, I have a couple of newbie questions for you! Not been doing VB for all that long so please bear with me
I am working on a program, which includes file handling.
Currently, I have a drop down menu (combo box) which will show the Name of the person that the record is related to (the name and other details are entered on another form).
Clearly, the file is reading correctly, however I need to make it so that when the name is picked from the drop down menu, the rest of the details show on a label below. How should I go about doing this?
Secondly, I want to make it so that if no file is found, the user is alerted and told that a file must exist. Currently, you get the "file not found" vb error message, and the program exits, which is no good. What code would I need to set up basic file validation just to make sure the file exists?
Thanks!
I am working on a program, which includes file handling.
Currently, I have a drop down menu (combo box) which will show the Name of the person that the record is related to (the name and other details are entered on another form).
Clearly, the file is reading correctly, however I need to make it so that when the name is picked from the drop down menu, the rest of the details show on a label below. How should I go about doing this?
Secondly, I want to make it so that if no file is found, the user is alerted and told that a file must exist. Currently, you get the "file not found" vb error message, and the program exits, which is no good. What code would I need to set up basic file validation just to make sure the file exists?
Thanks!