60 435
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #41064 in C# for PRITAM DEBNATH

Question #41064
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.
Expert's answer
Please apply such a structure:


try
{
=============================
Here paste your code
====================
}
catch
{
MessageBox.Show("The file path is not valid!", "", MessageBoxButtons.OK, MessageBoxIcon.Error);
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions