Question: Create a program in either C++, C#, or Visual Basic that does the following: 1) Displays some information on the screen 2) Attempts to open

Create a program in either C++, C#, or Visual Basic that does the following: 1) Displays some information on the screen 2) Attempts to open a non existent text file on the local hard drive 3) An exception handling routine should take over The exception handling routine must display a message on the screen - File does not exist - Should I create the file or exit the program If create the file is selected - the exception handling routine should create the file and allow the program to continue processing by: a) opening the file b) displaying a message - File opened successfully on the screen Otherwise a graceful termination of the program should be performed 
screen shots of all program activity 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!