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
shadowhunter2k3
NA
13
0
Continue loop after catch ?
Feb 14 2005 7:02 AM
Hi, I have a small routine that copies some files from a PocketPC to the desktop (I use the Desktop.Communication.dll from OpennetCF) But when a file already exists on the desktop and is read only the loop throws an exception (not because the file exists but because it cannot be overwritten)... after the messagebox that informs the user has been displayed I want to be able to resume my foreach loop. I have no idea of what to write in the catch block ? In the old days I used Resume Next in VB but I cannot find an alternative in C#. I have already tried continue but it fails to do what I was hoping it did :-( Anyone have an idea ? Kind regards, ShAdOwHuNtEr
Reply
Answers (
5
)
New to C# / Binding data to a combo box
dynamic checkboxes in Windows Form