TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tom
NA
31
0
Event Handling
Sep 19 2008 5:33 AM
Hi there, i am trying to use Error Handling to wait for a File Not Found error
try
{
TextReader tr = new StreamReader(Path);
}
catch(FileNotFoundException fnf)
{
StatusLabel.Text = "File Not Found !";
}
If i do this and try and run the program, it can not see the TextReader tr instance further down in my code... Any ideas ?
Thanks in advance
Reply
Answers (
1
)
Install-Uninstall .msi
Installation Problem