Click here to Skip to main content
15,906,708 members
Home / Discussions / C#
   

C#

 
AnswerRe: Multi Threading Pin
_Maxxx_3-Feb-11 18:47
professional_Maxxx_3-Feb-11 18:47 
QuestionDLL Registration Issue Pin
turc16563-Feb-11 6:57
turc16563-Feb-11 6:57 
AnswerRe: DLL Registration Issue Pin
jim lahey3-Feb-11 8:46
jim lahey3-Feb-11 8:46 
GeneralRe: DLL Registration Issue Pin
turc16563-Feb-11 10:00
turc16563-Feb-11 10:00 
QuestionHow can i send io stream to specific USB Pin
Yanshof3-Feb-11 0:52
Yanshof3-Feb-11 0:52 
AnswerRe: How can i send io stream to specific USB Pin
Dave Kreskowiak3-Feb-11 2:24
mveDave Kreskowiak3-Feb-11 2:24 
GeneralRe: How can i send io stream to specific USB Pin
Yanshof3-Feb-11 2:41
Yanshof3-Feb-11 2:41 
GeneralRe: How can i send io stream to specific USB Pin
Paladin20003-Feb-11 3:33
Paladin20003-Feb-11 3:33 
GeneralRe: How can i send io stream to specific USB Pin
Dave Kreskowiak3-Feb-11 3:46
mveDave Kreskowiak3-Feb-11 3:46 
QuestionHow to get a list of all the APIs exposed by a web service? Pin
Aseem Sharma2-Feb-11 22:33
Aseem Sharma2-Feb-11 22:33 
AnswerRe: How to get a list of all the APIs exposed by a web service? Pin
Ray Cassick3-Feb-11 5:39
Ray Cassick3-Feb-11 5:39 
QuestionProblem with multirow selection in DataGridView control Pin
sandeepkavade2-Feb-11 22:14
sandeepkavade2-Feb-11 22:14 
QuestionHow to run a Command and retrieve data from it ? Pin
All Time Programming2-Feb-11 21:01
All Time Programming2-Feb-11 21:01 
AnswerRe: How to run a Command and retrieve data from it ? Pin
Richard MacCutchan2-Feb-11 21:58
mveRichard MacCutchan2-Feb-11 21:58 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming2-Feb-11 22:38
All Time Programming2-Feb-11 22:38 
AnswerRe: How to run a Command and retrieve data from it ? Pin
Pravin Patil, Mumbai2-Feb-11 22:17
Pravin Patil, Mumbai2-Feb-11 22:17 
AnswerRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 0:00
mveOriginalGriff3-Feb-11 0:00 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 1:02
All Time Programming3-Feb-11 1:02 
GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 1:11
mveOriginalGriff3-Feb-11 1:11 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 1:24
All Time Programming3-Feb-11 1:24 
GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 1:30
mveOriginalGriff3-Feb-11 1:30 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 2:02
All Time Programming3-Feb-11 2:02 
>> Or: are you using the release version of the library in the app, and modifying the debug version?

What do you mean ? I change the code in library and build it. The reference is added in main application. I build the main app, which updates the dll file and I execute the application. I checked the dll file date/time in main app, its of Release version of library. The library & app is in Release version.

Should they be in Debug version ? How to change them ?

The spacing must not be a problem as I copy from the output only and put in my if to look for indexOf.

But yes, I think that applying BP on 1st line of Process_OutputDataReceived while execution helps. It got the "Cannot load file..." line and it went in isInvalid, went inside that if, changed "connected = false", and for the next line
        else if (isInValidLine(d))
        {
            //throw new Exception(d);
            connected = false;     // MADE THIS
            errorMsg = d;          // EXECUTED THIS ALSO BUT AGAIN VALUE = ""
            return;
        }


private bool isInValidLine(string line)
{
    if (line.IndexOf("Cannot load CA certificate file") > 0)
    {
        errorMsg = line;   // EXECUTED THIS, BUT VALUE REMAINED ""
        return true;
    }
    return false;
}


i GUESS i GOT TO debug more carefully. AND should I remove & add refernce everytime I buid the library ?

Thanks & Regards,


GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 2:30
mveOriginalGriff3-Feb-11 2:30 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 2:49
All Time Programming3-Feb-11 2:49 
GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 3:01
mveOriginalGriff3-Feb-11 3:01 

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.