Click here to Skip to main content
15,915,509 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Adding images from database to word document Pin
Dave Kreskowiak1-Oct-09 6:16
mveDave Kreskowiak1-Oct-09 6:16 
Questionread excel cell Pin
viewsonic1229-Sep-09 15:28
viewsonic1229-Sep-09 15:28 
AnswerRe: read excel cell Pin
freakyit29-Sep-09 21:26
freakyit29-Sep-09 21:26 
QuestionCrystal Report Loading Failed. Pin
waner michaud29-Sep-09 8:58
waner michaud29-Sep-09 8:58 
AnswerRe: Crystal Report Loading Failed. Pin
Paramhans Dubey29-Sep-09 22:27
professionalParamhans Dubey29-Sep-09 22:27 
QuestionSend Hex code by UDP Pin
phil241529-Sep-09 6:02
phil241529-Sep-09 6:02 
AnswerRe: Send Hex code by UDP Pin
Dave Kreskowiak29-Sep-09 6:23
mveDave Kreskowiak29-Sep-09 6:23 
AnswerRe: Send Hex code by UDP Pin
Luc Pattyn29-Sep-09 6:26
sitebuilderLuc Pattyn29-Sep-09 6:26 
Hi,

there is nothing in TCP/IP or UDP that uses hex. It is all bytes, representing numbers; numbers aren't decimal or hex or octal, they are just a bunch of bits. Hex/decimal/octal is a human way to look at numbers, and it only exists as a string. Your sniffer is getting bytes, and showing them to you using a hex string (because that has a fixed length of 2 characters per byte), you should read each 2-character hex number as one byte value.

So if your sniffer sees "12CD" that would be two bytes, one with hex representation "12" (hence decimal value 18), and one "CD" (i.e. 205). So you would need a 2-element byte array, initialize it with 18 and 205 (or &12H and &CDH) and send it.

Smile | :)

Luc Pattyn

Local announcement (Antwerp region): Lange Wapper? Neen!


GeneralRe: Send Hex code by UDP Pin
phil241530-Sep-09 0:42
phil241530-Sep-09 0:42 
AnswerRe: Send Hex code by UDP Pin
phil241530-Sep-09 23:41
phil241530-Sep-09 23:41 
QuestionVS 2008 Setup Pin
εїзεїзεїз29-Sep-09 4:40
εїзεїзεїз29-Sep-09 4:40 
AnswerRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 5:40
mveDave Kreskowiak29-Sep-09 5:40 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 6:24
εїзεїзεїз29-Sep-09 6:24 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 7:34
mveDave Kreskowiak29-Sep-09 7:34 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 8:38
εїзεїзεїз29-Sep-09 8:38 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 8:43
mveDave Kreskowiak29-Sep-09 8:43 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 9:14
εїзεїзεїз29-Sep-09 9:14 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak29-Sep-09 10:41
mveDave Kreskowiak29-Sep-09 10:41 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз29-Sep-09 11:44
εїзεїзεїз29-Sep-09 11:44 
GeneralRe: VS 2008 Setup Pin
Dave Kreskowiak30-Sep-09 1:54
mveDave Kreskowiak30-Sep-09 1:54 
GeneralRe: VS 2008 Setup Pin
εїзεїзεїз30-Sep-09 4:07
εїзεїзεїз30-Sep-09 4:07 
QuestionGetting data into an array. Pin
vurdmal29-Sep-09 2:58
vurdmal29-Sep-09 2:58 
AnswerRe: Getting data into an array. Pin
Paramhans Dubey29-Sep-09 3:07
professionalParamhans Dubey29-Sep-09 3:07 
GeneralRe: Getting data into an array. Pin
vurdmal29-Sep-09 3:17
vurdmal29-Sep-09 3:17 
AnswerRe: Getting data into an array. Pin
freakyit29-Sep-09 3:11
freakyit29-Sep-09 3:11 

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.