Click here to Skip to main content
15,909,437 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: "{ " as a string in VB Pin
Dave Kreskowiak13-Nov-08 5:30
mveDave Kreskowiak13-Nov-08 5:30 
AnswerRe: "{ " as a string in VB Pin
sph3rex13-Nov-08 7:24
sph3rex13-Nov-08 7:24 
QuestionWebBrowser control, HTTPS SSL certificate security dialog Pin
akuma609913-Nov-08 4:49
akuma609913-Nov-08 4:49 
AnswerRe: WebBrowser control, HTTPS SSL certificate security dialog Pin
sph3rex13-Nov-08 10:17
sph3rex13-Nov-08 10:17 
AnswerRe: WebBrowser control, HTTPS SSL certificate security dialog Pin
BimJeam15-Nov-08 3:56
BimJeam15-Nov-08 3:56 
GeneralRe: WebBrowser control, HTTPS SSL certificate security dialog Pin
akuma609916-Nov-08 17:34
akuma609916-Nov-08 17:34 
GeneralRe: WebBrowser control, HTTPS SSL certificate security dialog Pin
BimJeam23-Nov-08 12:13
BimJeam23-Nov-08 12:13 
QuestionModulo Checksum Claculation Pin
MatthysDT13-Nov-08 3:40
MatthysDT13-Nov-08 3:40 
I'm trying to do the checksum calculations on data received via RS232, but the specification for the data doesn't explain the calculation algorith very in-depth. I tried researching the algorithm but my results always differ from the expected checksum.

Here is the spec's decription of the checksum calculation:
Sum modulo $FFFF of all characters from position two of the data and up to the last
character prior to the checksum identifier character. Value is a 4-byte hexadecimal number
preceded by space. Hex number is represented as a lowercase ASCII hex.


The reason it only starts at byte 2 is because byte 1 is the STX character.

This text file's[^] contents should easily calculate to the checksum (which is the last 4 bytes of the text). This text doesn't include the first byte (the STX) as it as already been stripped off by the handshaking.

(Sorry for using that crappy site for the file upload, my normal filesharing site is down today)

I'm using vb6 and would appreciate any help or pointer that could steer me in the right direction.


AnswerRe: Modulo Checksum Claculation Pin
Dave Kreskowiak13-Nov-08 4:53
mveDave Kreskowiak13-Nov-08 4:53 
GeneralRe: Modulo Checksum Claculation Pin
MatthysDT13-Nov-08 20:44
MatthysDT13-Nov-08 20:44 
GeneralRe: Modulo Checksum Claculation Pin
Dave Kreskowiak14-Nov-08 16:17
mveDave Kreskowiak14-Nov-08 16:17 
GeneralRe: Modulo Checksum Claculation Pin
MatthysDT16-Nov-08 20:41
MatthysDT16-Nov-08 20:41 
AnswerRe: Modulo Checksum Claculation Pin
Rajesh Anuhya13-Nov-08 22:08
professionalRajesh Anuhya13-Nov-08 22:08 
GeneralRe: Modulo Checksum Claculation Pin
MatthysDT13-Nov-08 22:44
MatthysDT13-Nov-08 22:44 
GeneralRe: Modulo Checksum Claculation Pin
Rajesh Anuhya14-Nov-08 0:45
professionalRajesh Anuhya14-Nov-08 0:45 
QuestionOpen local programme from email (with link) Pin
Tom Deketelaere13-Nov-08 2:51
professionalTom Deketelaere13-Nov-08 2:51 
AnswerRe: Open local programme from email (with link) Pin
Jon_Boy13-Nov-08 4:17
Jon_Boy13-Nov-08 4:17 
GeneralRe: Open local programme from email (with link) Pin
Tom Deketelaere13-Nov-08 4:27
professionalTom Deketelaere13-Nov-08 4:27 
AnswerRe: Open local programme from email (with link) Pin
Dave Kreskowiak13-Nov-08 4:44
mveDave Kreskowiak13-Nov-08 4:44 
GeneralRe: Open local programme from email (with link) Pin
Tom Deketelaere13-Nov-08 4:56
professionalTom Deketelaere13-Nov-08 4:56 
GeneralRe: Open local programme from email (with link) Pin
Dave Kreskowiak13-Nov-08 5:27
mveDave Kreskowiak13-Nov-08 5:27 
GeneralRe: Open local programme from email (with link) Pin
Tom Deketelaere13-Nov-08 7:17
professionalTom Deketelaere13-Nov-08 7:17 
GeneralRe: Open local programme from email (with link) Pin
Dave Kreskowiak13-Nov-08 8:25
mveDave Kreskowiak13-Nov-08 8:25 
GeneralRe: Open local programme from email (with link) Pin
Tom Deketelaere13-Nov-08 8:58
professionalTom Deketelaere13-Nov-08 8:58 
GeneralRe: Open local programme from email (with link) Pin
Tom Deketelaere13-Nov-08 22:00
professionalTom Deketelaere13-Nov-08 22:00 

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.