Visual Basic - Error Handling with the 'Try Catch' block

preview_player
Показать описание
This video explains how a programmer can make use of the "Try Catch" block, to handle errors before they're allowed to crash our application. This prevents loss of valuable user data, and also offers a better user experience.
Рекомендации по теме
Комментарии
Автор

Despite reading about how to use the Try-Catch command, watching your video, my solution was being a stubborn brute with an OutofRange Exception. And after a couple hours of frustration, it turned out how I was reading the value from a combobox was wrong! So, I would recommend to others, that quite often the error you're seeing might be an indirect problem, caused by code leading up to what you think is the problem. Guys - don't discouraged with these thrown error issues. All part of the game to building good, clean running code!

brianbrewster
Автор

very informative and in a very simple way !!! thank you !!

ahmed
Автор

Hello Pete;
Will you be making any more videos on understanding logic in vb; I have a difficult time writing programs from instructions given, example. Write a program that requests a month and year as input and then determines the date of the first Tuesday of that month. Also, when you declare a variable, you must also assign the variable. Please help. Thank you
Lost in Visual Basics

educatorestrada
join shbcf.ru