Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: No value given for one or more required parameters. Pin
_Maxxx_20-Oct-09 19:12
professional_Maxxx_20-Oct-09 19:12 
QuestionWindows application Pin
or or19-Oct-09 11:34
or or19-Oct-09 11:34 
AnswerRe: Windows application Pin
Eddy Vluggen19-Oct-09 11:54
professionalEddy Vluggen19-Oct-09 11:54 
GeneralRe: Windows application Pin
or or19-Oct-09 20:24
or or19-Oct-09 20:24 
AnswerRe: Windows application Pin
Not Active19-Oct-09 13:15
mentorNot Active19-Oct-09 13:15 
QuestionRe: Windows application Pin
or or20-Oct-09 0:06
or or20-Oct-09 0:06 
QuestionMagical thread? [modified] Pin
Scalee19-Oct-09 10:42
Scalee19-Oct-09 10:42 
AnswerRe: Magical thread? [modified] Pin
Luc Pattyn19-Oct-09 11:39
sitebuilderLuc Pattyn19-Oct-09 11:39 
Hmm.

[EDIT]a finally block would always execute, resulting in one sleep too many. fixed that with a variable delay which also makes the finally block unnecessary
[/EDIT]

the normal way for retrying something is by setting up a loop which gets exited on success only. For instance:
for(int delay=0; ; delay=10000) {
    Thread.Sleep(delay);
    try {
        ...
        break; // or return
    } catch(...) {
        ...
    }
}


so no goto's, and a single sleep.


Scalee wrote:
Msnclass.Cout += new MSN.cout(Cout);


I'm puzzled by this statement. Not sure what the intention is.
I'm pretty sure the cout should be a Cout (public identifier ==> PascalCase).
And it would be my guess cout() never returns for some reason.
suggestion: add a log statement right behind it; if that never executes, look at cout().

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? 59.24% waren verstandig genoeg om NEEN te stemmen; bye bye viaduct.


modified on Monday, October 19, 2009 6:00 PM

GeneralRe: Magical thread? Pin
Scalee19-Oct-09 12:23
Scalee19-Oct-09 12:23 
AnswerRe: Magical thread? Pin
Luc Pattyn19-Oct-09 12:43
sitebuilderLuc Pattyn19-Oct-09 12:43 
GeneralRe: Magical thread? Pin
Scalee19-Oct-09 21:39
Scalee19-Oct-09 21:39 
GeneralRe: Magical thread? Pin
Luc Pattyn20-Oct-09 1:36
sitebuilderLuc Pattyn20-Oct-09 1:36 
QuestionVisual Studio managing my project files Pin
LimitedAtonement19-Oct-09 9:59
LimitedAtonement19-Oct-09 9:59 
AnswerRe: Visual Studio managing my project files Pin
Not Active19-Oct-09 10:08
mentorNot Active19-Oct-09 10:08 
GeneralRe: Visual Studio managing my project files Pin
LimitedAtonement19-Oct-09 10:14
LimitedAtonement19-Oct-09 10:14 
GeneralRe: Visual Studio managing my project files Pin
Not Active19-Oct-09 10:25
mentorNot Active19-Oct-09 10:25 
GeneralRe: Visual Studio managing my project files Pin
LimitedAtonement19-Oct-09 10:52
LimitedAtonement19-Oct-09 10:52 
GeneralRe: Visual Studio managing my project files Pin
Not Active19-Oct-09 11:03
mentorNot Active19-Oct-09 11:03 
GeneralRe: Visual Studio managing my project files Pin
Alan N19-Oct-09 10:31
Alan N19-Oct-09 10:31 
GeneralRe: Visual Studio managing my project files Pin
Not Active19-Oct-09 10:40
mentorNot Active19-Oct-09 10:40 
GeneralRe: Visual Studio managing my project files Pin
LimitedAtonement19-Oct-09 10:54
LimitedAtonement19-Oct-09 10:54 
QuestionLooking for good File Based database for C# client. Pin
mittalpa19-Oct-09 9:02
mittalpa19-Oct-09 9:02 
AnswerRe: Looking for good File Based database for C# client. Pin
EliottA19-Oct-09 9:32
EliottA19-Oct-09 9:32 
JokeRe: Looking for good File Based database for C# client. Pin
Not Active19-Oct-09 10:10
mentorNot Active19-Oct-09 10:10 
AnswerRe: Looking for good File Based database for C# client. Pin
Eddy Vluggen19-Oct-09 10:06
professionalEddy Vluggen19-Oct-09 10:06 

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.