Click here to Skip to main content
15,905,967 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionAdding Textboxes at Run Time Pin
ejaz_pk10-Aug-07 6:28
ejaz_pk10-Aug-07 6:28 
AnswerRe: Adding Textboxes at Run Time Pin
Luc Pattyn10-Aug-07 6:47
sitebuilderLuc Pattyn10-Aug-07 6:47 
AnswerRe: Adding Textboxes at Run Time Pin
Dave Kreskowiak10-Aug-07 6:47
mveDave Kreskowiak10-Aug-07 6:47 
QuestionMonth week Number and dates Pin
ejaz_pk10-Aug-07 5:19
ejaz_pk10-Aug-07 5:19 
AnswerRe: Month week Number and dates Pin
Guffa10-Aug-07 5:40
Guffa10-Aug-07 5:40 
AnswerRe: Month week Number and dates Pin
ejaz_pk10-Aug-07 6:32
ejaz_pk10-Aug-07 6:32 
AnswerRe: Month week Number and dates Pin
Guffa10-Aug-07 6:39
Guffa10-Aug-07 6:39 
QuestionBinary conversion for CRC-16 Pin
Cory Kimble10-Aug-07 4:55
Cory Kimble10-Aug-07 4:55 
I am communication to a device via serial cable. I have to send data in a packet with a type of check sum on the end of it. When I calculate my check sum CRC-16 I get 14643 as a total. Great! What I don't understand is I need to change that into the a <high> <low> checksum instead of the number 14643. To do this manually, I have been figuring out the 16 bit binary equivalent. and then looking at each 4 bits to determine the hexadecimal equivalent and slitting the first two hex and the second to get my <high> <low> check sums. How do I do this in code?


ex:
14643 is
0011100100110011 in Binary 16 bits
0011 1001 0011 0011
3 9 3 3 in Hex


<high> <low>
39 33 Append at end of output.

Does anyone know an easy way to code this? I looked on line and there is nothing that converts the 14643 to only 16 bits. It converts each digit to its binary equivalent.
AnswerRe: Binary conversion for CRC-16 Pin
Luc Pattyn10-Aug-07 5:28
sitebuilderLuc Pattyn10-Aug-07 5:28 
AnswerRe: Binary conversion for CRC-16 Pin
Guffa10-Aug-07 6:36
Guffa10-Aug-07 6:36 
GeneralRe: Binary conversion for CRC-16 Pin
Cory Kimble10-Aug-07 7:13
Cory Kimble10-Aug-07 7:13 
GeneralRe: Binary conversion for CRC-16 Pin
Luc Pattyn10-Aug-07 7:41
sitebuilderLuc Pattyn10-Aug-07 7:41 
QuestionNested Listview In datagrid Pin
ejaz_pk10-Aug-07 3:11
ejaz_pk10-Aug-07 3:11 
AnswerRe: Nested Listview In datagrid Pin
leckey10-Aug-07 3:56
leckey10-Aug-07 3:56 
QuestionCreating references Pin
Ahmad Zaidi10-Aug-07 1:22
Ahmad Zaidi10-Aug-07 1:22 
AnswerRe: Creating references Pin
Dave Kreskowiak10-Aug-07 1:40
mveDave Kreskowiak10-Aug-07 1:40 
QuestionModify AVI file Pin
Rupesh Kumar Swami9-Aug-07 23:33
Rupesh Kumar Swami9-Aug-07 23:33 
AnswerRe: Modify AVI file Pin
'Drew10-Aug-07 11:53
'Drew10-Aug-07 11:53 
QuestionTransparent Mdi Pin
errorfunktion9-Aug-07 23:02
errorfunktion9-Aug-07 23:02 
AnswerRe: Transparent Mdi Pin
Tom Deketelaere10-Aug-07 0:04
professionalTom Deketelaere10-Aug-07 0:04 
GeneralRe: Transparent Mdi Pin
errorfunktion10-Aug-07 0:36
errorfunktion10-Aug-07 0:36 
GeneralRe: Transparent Mdi Pin
Tom Deketelaere10-Aug-07 1:35
professionalTom Deketelaere10-Aug-07 1:35 
GeneralRe: Transparent Mdi Pin
Dave Kreskowiak10-Aug-07 1:37
mveDave Kreskowiak10-Aug-07 1:37 
GeneralRe: Transparent Mdi Pin
errorfunktion10-Aug-07 2:34
errorfunktion10-Aug-07 2:34 
GeneralRe: Transparent Mdi Pin
Dave Kreskowiak10-Aug-07 3:17
mveDave Kreskowiak10-Aug-07 3:17 

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.