Click here to Skip to main content
15,560,126 members
Home / Discussions / C#
   

C#

 
AnswerRe: On Error Resume Next Pin
Abhinav S17-Jan-11 21:55
Abhinav S17-Jan-11 21:55 
AnswerRe: On Error Resume Next Pin
OriginalGriff17-Jan-11 22:20
mveOriginalGriff17-Jan-11 22:20 
GeneralRe: On Error Resume Next Pin
nlarson1118-Jan-11 4:43
nlarson1118-Jan-11 4:43 
GeneralRe: On Error Resume Next Pin
OriginalGriff18-Jan-11 5:00
mveOriginalGriff18-Jan-11 5:00 
GeneralRe: On Error Resume Next Pin
nlarson1118-Jan-11 5:16
nlarson1118-Jan-11 5:16 
GeneralRe: On Error Resume Next Pin
Matty2220-Jan-11 16:16
Matty2220-Jan-11 16:16 
AnswerRe: On Error Resume Next Pin
_Erik_18-Jan-11 5:22
_Erik_18-Jan-11 5:22 
AnswerRe: On Error Resume Next [modified] Pin
Dave Doknjas18-Jan-11 11:09
Dave Doknjas18-Jan-11 11: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 12:27
mveChris Copeland17-Jan-11 12:27 
QuestionSorting objects in a dictionary into corresponding Pairs... Pin
roman_s17-Jan-11 10:47
roman_s17-Jan-11 10:47 
AnswerRe: Sorting objects in a dictionary into corresponding Pairs... Pin
roman_s17-Jan-11 11:56
roman_s17-Jan-11 11:56 
AnswerRe: Sorting objects in a dictionary into corresponding Pairs... Pin
Henry Minute17-Jan-11 12:25
Henry Minute17-Jan-11 12:25 
Questionusb device (not the storage volume type) Pin
Blubbo17-Jan-11 10:06
Blubbo17-Jan-11 10:06 
AnswerRe: usb device (not the storage volume type) Pin
Michael900017-Jan-11 10:19
Michael900017-Jan-11 10:19 
GeneralRe: usb device (not the storage volume type) Pin
Blubbo19-Jan-11 10:54
Blubbo19-Jan-11 10:54 
QuestionWierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 9:32
Michael900017-Jan-11 9:32 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 12:17
professionalRavi Bhavnani17-Jan-11 12:17 
QuestionRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 12:49
Michael900017-Jan-11 12:49 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 12:53
professionalRavi Bhavnani17-Jan-11 12:53 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 13:13
Michael900017-Jan-11 13:13 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 13:22
professionalRavi Bhavnani17-Jan-11 13:22 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 13:48
Michael900017-Jan-11 13:48 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900018-Jan-11 6:02
Michael900018-Jan-11 6:02 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani18-Jan-11 6:57
professionalRavi Bhavnani18-Jan-11 6:57 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 12:56
professionalRavi Bhavnani17-Jan-11 12: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.