Click here to Skip to main content
15,885,985 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Is there a way to use a radio as joystick through usb? Pin
Dave Kreskowiak20-Jul-09 4:09
mveDave Kreskowiak20-Jul-09 4:09 
QuestionSending Email Using Gmail [modified] Pin
Mohammed.Al-Qaisi19-Jul-09 1:09
Mohammed.Al-Qaisi19-Jul-09 1:09 
AnswerRe: Sending Email Using Gmail Pin
Vimalsoft(Pty) Ltd19-Jul-09 20:16
professionalVimalsoft(Pty) Ltd19-Jul-09 20:16 
GeneralRe: Sending Email Using Gmail Pin
Mohammed.Al-Qaisi19-Jul-09 22:22
Mohammed.Al-Qaisi19-Jul-09 22:22 
GeneralRe: Sending Email Using Gmail Pin
Vimalsoft(Pty) Ltd19-Jul-09 22:39
professionalVimalsoft(Pty) Ltd19-Jul-09 22:39 
QuestionAm I getting it right????? Please help!! Pin
ChiSmile18-Jul-09 20:00
ChiSmile18-Jul-09 20:00 
AnswerRe: Am I getting it right????? Please help!! Pin
Dave Kreskowiak20-Jul-09 4:07
mveDave Kreskowiak20-Jul-09 4:07 
QuestionConvert Byte to SByte without errors Pin
DaveyM6918-Jul-09 13:19
professionalDaveyM6918-Jul-09 13:19 
Hi,

I'm pulling an inividual byte out of a byte array (I can't change the array), and that one byte needs to be treated as an SByte. As soon as the byte's value is >127 I get an overflow error as it's outside the range of SByte, and it's not automatically treated as a negative number (as it would be in C#).

I've tried CType and CSByte but no luck. The convert class appaently has the same problem.
Is there a standard way of dealing with this?

As a workaround I'm creating a temporary SByte array with one element and using Buffer.BlockCopy to copy from the original array to that, but it seems very much a hack.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

AnswerRe: Convert Byte to SByte without errors Pin
Luc Pattyn18-Jul-09 17:34
sitebuilderLuc Pattyn18-Jul-09 17:34 
GeneralRe: Convert Byte to SByte without errors Pin
DaveyM6918-Jul-09 22:02
professionalDaveyM6918-Jul-09 22:02 
GeneralRe: Convert Byte to SByte without errors Pin
DaveyM6919-Jul-09 1:05
professionalDaveyM6919-Jul-09 1:05 
AnswerRe: Convert Byte to SByte without errors Pin
gouderadrian18-Jan-11 22:17
gouderadrian18-Jan-11 22:17 
QuestionCould anyone help me with this?!!! [VB6] :((((( Pin
bijan.8k18-Jul-09 5:48
bijan.8k18-Jul-09 5:48 
AnswerRe: Could anyone help me with this?!!! [VB6] :((((( Pin
Eddy Vluggen18-Jul-09 9:03
professionalEddy Vluggen18-Jul-09 9:03 
AnswerRe: Could anyone help me with this?!!! [VB6] :((((( Pin
Paul Conrad18-Jul-09 19:52
professionalPaul Conrad18-Jul-09 19:52 
Questioncode for adding bios date in vb.net Pin
yogendrasalunke18-Jul-09 4:26
yogendrasalunke18-Jul-09 4:26 
AnswerRe: code for adding bios date in vb.net Pin
Luc Pattyn18-Jul-09 4:49
sitebuilderLuc Pattyn18-Jul-09 4:49 
AnswerRe: code for adding bios date in vb.net Pin
dan!sh 18-Jul-09 5:24
professional dan!sh 18-Jul-09 5:24 
GeneralRe: code for adding bios date in vb.net Pin
yogendrasalunke18-Jul-09 5:31
yogendrasalunke18-Jul-09 5:31 
QuestionEnum value calculation using chars [modified] Pin
DaveyM6918-Jul-09 0:51
professionalDaveyM6918-Jul-09 0:51 
AnswerRe: Enum value calculation using chars Pin
Luc Pattyn18-Jul-09 1:18
sitebuilderLuc Pattyn18-Jul-09 1:18 
GeneralRe: Enum value calculation using chars Pin
DaveyM6918-Jul-09 1:34
professionalDaveyM6918-Jul-09 1:34 
GeneralRe: Enum value calculation using chars Pin
Luc Pattyn18-Jul-09 1:42
sitebuilderLuc Pattyn18-Jul-09 1:42 
GeneralRe: Enum value calculation using chars Pin
DaveyM6918-Jul-09 1:56
professionalDaveyM6918-Jul-09 1:56 
GeneralRe: Enum value calculation using chars Pin
Luc Pattyn18-Jul-09 2:12
sitebuilderLuc Pattyn18-Jul-09 2:12 

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.