Click here to Skip to main content
15,887,135 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Test For Null Pin
JasonD_S3-Aug-09 0:39
JasonD_S3-Aug-09 0:39 
GeneralRe: Test For Null Pin
dan!sh 3-Aug-09 1:01
professional dan!sh 3-Aug-09 1:01 
General[Message Deleted] Pin
Johan Hakkesteegt3-Aug-09 1:05
Johan Hakkesteegt3-Aug-09 1:05 
GeneralRe: Test For Null Pin
JasonD_S3-Aug-09 1:15
JasonD_S3-Aug-09 1:15 
GeneralRe: Test For Null Pin
Johan Hakkesteegt3-Aug-09 1:28
Johan Hakkesteegt3-Aug-09 1:28 
GeneralRe: Test For Null Pin
JasonD_S3-Aug-09 1:55
JasonD_S3-Aug-09 1:55 
AnswerRe: Test For Null Pin
Kschuler3-Aug-09 8:01
Kschuler3-Aug-09 8:01 
QuestionHow do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Kobi_Z2-Aug-09 21:38
Kobi_Z2-Aug-09 21:38 
I try to translate code from c++ to vb6,

in C++ i have:
unsigned char a = 3
unsigned char b = 188
unsigned char c
c = a^b
I get an answer c = 191.

I try the same in VB6
dim a as byte
dim b as byte
dim c as byte
a = 3
b = 188
c = a^B
I get Overflow

How do i get the same result ?
i tryed using combinations with MOD 256 but no success.
thanks.
AnswerRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Christian Graus2-Aug-09 22:00
protectorChristian Graus2-Aug-09 22:00 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Kobi_Z2-Aug-09 22:25
Kobi_Z2-Aug-09 22:25 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Christian Graus2-Aug-09 22:28
protectorChristian Graus2-Aug-09 22:28 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
riced2-Aug-09 23:41
riced2-Aug-09 23:41 
AnswerRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
dan!sh 2-Aug-09 22:43
professional dan!sh 2-Aug-09 22:43 
GeneralRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
Kobi_Z3-Aug-09 0:22
Kobi_Z3-Aug-09 0:22 
AnswerRe: How do i Multiply Bytes w/o overflow (Like char in c++) ? Pin
KarstenK3-Aug-09 0:39
mveKarstenK3-Aug-09 0:39 
QuestionWhich is the best and sure way to shutdown systems Pin
Amer Rehman2-Aug-09 20:55
Amer Rehman2-Aug-09 20:55 
AnswerRe: Which is the best and sure way to shutdown systems Pin
Johan Hakkesteegt3-Aug-09 1:41
Johan Hakkesteegt3-Aug-09 1:41 
AnswerRe: Which is the best and sure way to shutdown systems Pin
Dave Kreskowiak3-Aug-09 2:03
mveDave Kreskowiak3-Aug-09 2:03 
Questionhaving problems (Public Shared Sub ShowTcpStatistics) Statement cannot within method body. End of method assumed// which is affecting my txtbox.Text Pin
that_dude_tj2-Aug-09 10:59
that_dude_tj2-Aug-09 10:59 
AnswerRe: having problems (Public Shared Sub ShowTcpStatistics) Statement cannot within method body. End of method assumed// which is affecting my txtbox.Text Pin
Christian Graus2-Aug-09 11:45
protectorChristian Graus2-Aug-09 11:45 
AnswerRe: having problems (Public Shared Sub ShowTcpStatistics) Statement cannot within method body. End of method assumed// which is affecting my txtbox.Text Pin
Dave Kreskowiak2-Aug-09 11:46
mveDave Kreskowiak2-Aug-09 11:46 
Generaltxtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
that_dude_tj2-Aug-09 12:32
that_dude_tj2-Aug-09 12:32 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
Christian Graus2-Aug-09 13:58
protectorChristian Graus2-Aug-09 13:58 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
nlarson112-Aug-09 16:26
nlarson112-Aug-09 16:26 
GeneralRe: txtbox.Text ="" Cannot refer to an instance member of a class from within a shared method or shared member initializerxt without an explicit instance of the class. Pin
Christian Graus2-Aug-09 16:42
protectorChristian Graus2-Aug-09 16:42 

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.