The application displayed a message to the user to enter the path of the customer details file.
However, the customer details maintenance application crashed as Dwayne mistakenly entered
the wrong file path. Therefore, he asks Elina to modify the application so that it does not crash
due to similar errors. Modify the code that Elina needs to accomplish the preceding task.
1
Expert's answer
2014-04-10T09:38:23-0400
Please apply such a structure:
try { ============================= Here paste your code ==================== } catch { MessageBox.Show("The file path is not valid!", "", MessageBoxButtons.OK, MessageBoxIcon.Error); }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment