Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: grid view item selection Pin
Dhyanga7-Sep-10 6:07
Dhyanga7-Sep-10 6:07 
GeneralRe: grid view item selection Pin
Dhyanga7-Sep-10 6:11
Dhyanga7-Sep-10 6:11 
AnswerRe: grid view item selection Pin
Brij7-Sep-10 8:21
mentorBrij7-Sep-10 8:21 
GeneralRe: grid view item selection Pin
Dhyanga7-Sep-10 9:27
Dhyanga7-Sep-10 9:27 
QuestionInvoking Java webservice in .net application Pin
NarVish7-Sep-10 2:50
NarVish7-Sep-10 2:50 
AnswerRe: Invoking Java webservice in .net application Pin
Not Active7-Sep-10 3:20
mentorNot Active7-Sep-10 3:20 
GeneralRe: Invoking Java webservice in .net application Pin
NarVish7-Sep-10 3:48
NarVish7-Sep-10 3:48 
Questionhex string comparison Pin
meenu s7-Sep-10 1:52
meenu s7-Sep-10 1:52 
dears,

two hex strings i am pasting as follows.i have two exe files. S1.EXE and S2.EXE

when byte converting to hexstring S1.EXE result is

FFD8FFE000104A46494600010100000100010000FFDB0043000C08080A08080C0A0A0A0C0C0C0E101C121010101022181A141C28222A28262226262C303E342C2E3A2E2626364A363A40424646462A344C524C44503E444642FFDB0043010C0C0C100E1020121220422C262C4242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242FFC4001F0000010501010101010100000000000000000102030405060708090A0BFFC400B5100002010303020403050504040000017D01020300041105122131410613516107227114328191A1082342B1C11552D1F02433627282090A161718191A

when same byte converting to hexstring S2.EXE result is

FFD8FFE00104A4649460110010100FFDB0430C88A88CAAACCCE101C121010101022181A141C28222A28262226262C303E342C2E3A2E2626364A363A40424646462A344C524C44503E444642FFDB0431CCC10E1020121220422C262C4242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242FFC401F001511111100000000123456789ABFFC40B5100213324355440017D123041151221314161351617227114328191A182342B1C11552D1F024336272829A161718191A

y same byte result is different here?

actually S1.EXE hexstring is correct.but i dont know the code of that EXE.

in S2.EXE byte converting to hexstring as follows

Dim strTemp1 As New StringBuilder(Bytes.Length * 2)
For intIndex = offset To offset + count - 1
strTemp1.AppendFormat("{0:x2}", Bytes(intIndex))
Next
RaiseEvent LineReceived(Me, strTemp1.ToString)


what changes i need to do in this coding for getting same result like S1.EXE?

from my point of view i think,in S1.EXE they are adding 0 whereever hex string value is (0-F).ie.single charactr?Can anybdy help me
MEENU

AnswerRe: hex string comparison Pin
Luc Pattyn7-Sep-10 15:54
sitebuilderLuc Pattyn7-Sep-10 15:54 
Questionsave dialog box problem using vb script Pin
raj15767-Sep-10 1:01
raj15767-Sep-10 1:01 
AnswerRe: save dialog box problem using vb script Pin
Not Active7-Sep-10 2:04
mentorNot Active7-Sep-10 2:04 
AnswerRe: save dialog box problem using vb script Pin
scottgp7-Sep-10 5:54
professionalscottgp7-Sep-10 5:54 
Questionurl mapping Pin
Ahamed Azeem6-Sep-10 22:32
Ahamed Azeem6-Sep-10 22:32 
QuestionUser based security Pin
iamdking6-Sep-10 20:36
iamdking6-Sep-10 20:36 
AnswerRe: User based security [modified] Pin
Brij6-Sep-10 21:04
mentorBrij6-Sep-10 21:04 
AnswerRe: User based security Pin
Abhijit Jana6-Sep-10 21:21
professionalAbhijit Jana6-Sep-10 21:21 
GeneralRe: User based security Pin
Brij6-Sep-10 21:31
mentorBrij6-Sep-10 21:31 
GeneralRe: User based security Pin
iamdking6-Sep-10 21:32
iamdking6-Sep-10 21:32 
GeneralRe: User based security Pin
Not Active7-Sep-10 0:48
mentorNot Active7-Sep-10 0:48 
QuestionHow to connect to a webservice using ActiveX Control Pin
NarVish6-Sep-10 20:35
NarVish6-Sep-10 20:35 
AnswerRe: How to connect to a webservice using ActiveX Control Pin
SeMartens6-Sep-10 20:50
SeMartens6-Sep-10 20:50 
QuestionScrolling Page(Please help) Pin
future38396-Sep-10 12:11
future38396-Sep-10 12:11 
AnswerRe: Scrolling Page(Please help) Pin
Abhijit Jana6-Sep-10 19:01
professionalAbhijit Jana6-Sep-10 19:01 
QuestionNew Server Mail Config Problem Pin
jintalPatel6-Sep-10 4:47
jintalPatel6-Sep-10 4:47 
AnswerRe: New Server Mail Config Problem Pin
Brij6-Sep-10 6:36
mentorBrij6-Sep-10 6:36 

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.