Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reference: Object reference not set to an instance of an object. Pin
Pete O'Hanlon24-Apr-12 5:49
mvePete O'Hanlon24-Apr-12 5:49 
GeneralRe: Reference: Object reference not set to an instance of an object. Pin
MemberDotNetting24-Apr-12 6:31
MemberDotNetting24-Apr-12 6:31 
AnswerRe: Reference: Object reference not set to an instance of an object. Pin
Bernhard Hiller24-Apr-12 5:11
Bernhard Hiller24-Apr-12 5:11 
GeneralRe: Reference: Object reference not set to an instance of an object. Pin
MemberDotNetting24-Apr-12 6:34
MemberDotNetting24-Apr-12 6:34 
GeneralRe: Reference: Object reference not set to an instance of an object. Pin
Gerry Schmitz25-Apr-12 8:51
mveGerry Schmitz25-Apr-12 8:51 
QuestionDeserialize xml file having namespaces Pin
NarVish24-Apr-12 3:38
NarVish24-Apr-12 3:38 
AnswerRe: Deserialize xml file having namespaces Pin
Gerry Schmitz25-Apr-12 8:55
mveGerry Schmitz25-Apr-12 8:55 
QuestionComparing two files Pin
MichCl24-Apr-12 3:17
MichCl24-Apr-12 3:17 
What's the best way to compare two files? I have two files. One was written as a binary file, and the other was written as a string. Looking at the files in Notepad, the characters look the same (although they are weird characters due the nature of encoding). When you use Notepad++ to do a comparison, ignoring whitespace, aligning matches, and detecting moves, showing CR and LF's, it shows the original one written as a binary with about 110 lines of CRLF's, and then the data with the correct CRLF's after each line. But it shows the one written as a string shows the data with it's CRLF's as expected, but then about 110 lines of empty CRLF's. When you show the files without the comparison tool, they line up perfectly and look the same, with the CRLF's just showing up at the end of each line of data. It turns out that Notepad++ just shows CRLF when lines don't match, so it offsets the files in the comparison viewer.

When I compare with Beyond Compare, by default, it's reading the one written as a string as UTF8 PC, and the original as Japanese. When I force the original to be UTF8 (can't figure out how to do the PC part), it shows the original file as rectangles with question marks in the center, separated by a yen symbol in the middle of each line of data (for the most part).

They look the same without the compare tools. Are they the same? The next step is to see if the one written as a string opens up in the tool ok. I'm not sure otherwise. So the old tool doesn't read the data correctly, so maybe it's not ok....
AnswerRe: Comparing two files Pin
Sentenryu24-Apr-12 7:10
Sentenryu24-Apr-12 7:10 
GeneralRe: Comparing two files Pin
MichCl24-Apr-12 9:31
MichCl24-Apr-12 9:31 
Questionproject for face detection and recognition Pin
baskaran chellasamy24-Apr-12 2:10
baskaran chellasamy24-Apr-12 2:10 
AnswerCross posted. Pin
Pete O'Hanlon24-Apr-12 2:20
mvePete O'Hanlon24-Apr-12 2:20 
QuestionSql Compact Deployment with C# Pin
teknolog12323-Apr-12 23:27
teknolog12323-Apr-12 23:27 
QuestionASP.Net Pin
fire_hawk23-Apr-12 21:49
fire_hawk23-Apr-12 21:49 
AnswerRe: ASP.Net Pin
Mycroft Holmes23-Apr-12 21:58
professionalMycroft Holmes23-Apr-12 21:58 
GeneralRe: ASP.Net Pin
Pete O'Hanlon23-Apr-12 22:05
mvePete O'Hanlon23-Apr-12 22:05 
GeneralRe: ASP.Net Pin
Vipin_Arora24-Apr-12 1:16
Vipin_Arora24-Apr-12 1:16 
Questionjagged array error message Pin
mpvkrishnadhar23-Apr-12 20:16
mpvkrishnadhar23-Apr-12 20:16 
AnswerRe: jagged array error message Pin
Satish Pai23-Apr-12 20:59
Satish Pai23-Apr-12 20:59 
GeneralRe: jagged array error message Pin
mpvkrishnadhar23-Apr-12 21:14
mpvkrishnadhar23-Apr-12 21:14 
AnswerRe: jagged array error message Pin
Richard MacCutchan23-Apr-12 21:23
mveRichard MacCutchan23-Apr-12 21:23 
AnswerRe: jagged array error message Pin
OriginalGriff23-Apr-12 21:37
mveOriginalGriff23-Apr-12 21:37 
GeneralRe: jagged array error message Pin
mpvkrishnadhar23-Apr-12 22:08
mpvkrishnadhar23-Apr-12 22:08 
GeneralRe: jagged array error message Pin
OriginalGriff23-Apr-12 22:12
mveOriginalGriff23-Apr-12 22:12 
QuestionCreateDecryptor for the code! Pin
jojoba201123-Apr-12 19:56
jojoba201123-Apr-12 19: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.