Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: On Error Resume Next Pin
Abhinav S17-Jan-11 20:55
Abhinav S17-Jan-11 20:55 
AnswerRe: On Error Resume Next Pin
OriginalGriff17-Jan-11 21:20
mveOriginalGriff17-Jan-11 21:20 
GeneralRe: On Error Resume Next Pin
nlarson1118-Jan-11 3:43
nlarson1118-Jan-11 3:43 
GeneralRe: On Error Resume Next Pin
OriginalGriff18-Jan-11 4:00
mveOriginalGriff18-Jan-11 4:00 
GeneralRe: On Error Resume Next Pin
nlarson1118-Jan-11 4:16
nlarson1118-Jan-11 4:16 
GeneralRe: On Error Resume Next Pin
Matty2220-Jan-11 15:16
Matty2220-Jan-11 15:16 
AnswerRe: On Error Resume Next Pin
_Erik_18-Jan-11 4:22
_Erik_18-Jan-11 4:22 
AnswerRe: On Error Resume Next [modified] Pin
Dave Doknjas18-Jan-11 10:09
Dave Doknjas18-Jan-11 10:09 
If you can narrow down the affected code to a line or two, then the following VB code:
On Error Resume Next
Foo()


can be converted to:
try
{
    Foo();
}
catch
{
    //ignore exceptions
}


For longer code blocks, you'll have to use a separate try/empty catch for each single line of code.
David Anton
Convert between VB, C#, C++, & Java
www.tangiblesoftwaresolutions.com
modified on Tuesday, January 18, 2011 4:42 PM

QuestionComponent design-time adjust control boundaries Pin
Chris Copeland17-Jan-11 11:27
mveChris Copeland17-Jan-11 11:27 
QuestionSorting objects in a dictionary into corresponding Pairs... Pin
roman_s17-Jan-11 9:47
roman_s17-Jan-11 9:47 
AnswerRe: Sorting objects in a dictionary into corresponding Pairs... Pin
roman_s17-Jan-11 10:56
roman_s17-Jan-11 10:56 
AnswerRe: Sorting objects in a dictionary into corresponding Pairs... Pin
Henry Minute17-Jan-11 11:25
Henry Minute17-Jan-11 11:25 
Questionusb device (not the storage volume type) Pin
Blubbo17-Jan-11 9:06
Blubbo17-Jan-11 9:06 
AnswerRe: usb device (not the storage volume type) Pin
Michael900017-Jan-11 9:19
Michael900017-Jan-11 9:19 
GeneralRe: usb device (not the storage volume type) Pin
Blubbo19-Jan-11 9:54
Blubbo19-Jan-11 9:54 
QuestionWierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 8:32
Michael900017-Jan-11 8:32 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 11:17
professionalRavi Bhavnani17-Jan-11 11:17 
QuestionRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 11:49
Michael900017-Jan-11 11:49 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 11:53
professionalRavi Bhavnani17-Jan-11 11:53 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 12:13
Michael900017-Jan-11 12:13 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 12:22
professionalRavi Bhavnani17-Jan-11 12:22 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 12:48
Michael900017-Jan-11 12:48 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900018-Jan-11 5:02
Michael900018-Jan-11 5:02 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani18-Jan-11 5:57
professionalRavi Bhavnani18-Jan-11 5:57 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 11:56
professionalRavi Bhavnani17-Jan-11 11:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.