|
-
Sep 28th, 2008, 11:52 AM
#15
Re: VB 6.0: How is packet sniffing done?
You're making more out of it than necessary
Instead of
sData = sData + Chr(Val("&H" & Hex(vByte))) + " "
do this
sData = sData & Hex(vByte) & " "
WAIT A MINUTE:
Isn't "m" what you want? That's the translation of "6D" But why are you putting a space after each hex translation?
Of course you could simplify it
sData = sData & Chr(vByte) & " "
Last edited by jmsrickland; Sep 28th, 2008 at 12:02 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|