Click here to Skip to main content
15,896,456 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 3:17
All Time Programming3-Feb-11 3:17 
GeneralRe: How to run a Command and retrieve data from it ? Pin
All Time Programming3-Feb-11 2:56
All Time Programming3-Feb-11 2:56 
GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 3:06
mveOriginalGriff3-Feb-11 3:06 
GeneralRe: How to run a Command and retrieve data from it ? [modified] Pin
All Time Programming3-Feb-11 3:27
All Time Programming3-Feb-11 3:27 
AnswerRe: How to run a Command and retrieve data from it ? Pin
PIEBALDconsult3-Feb-11 1:44
mvePIEBALDconsult3-Feb-11 1:44 
QuestionPrint Settings for ReportViewer pogrammatically Pin
freshonlineMax2-Feb-11 18:24
freshonlineMax2-Feb-11 18:24 
GeneralRe: Print Settings for ReportViewer pogrammatically Pin
Praveen Raghuvanshi2-Feb-11 19:07
professionalPraveen Raghuvanshi2-Feb-11 19:07 
GeneralRe: Print Settings for ReportViewer pogrammatically Pin
freshonlineMax2-Feb-11 19:46
freshonlineMax2-Feb-11 19:46 

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.