Click here to Skip to main content
16,016,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVB.NET Halftone Pattern Image Pin
Rachitk15-Jun-06 6:39
Rachitk15-Jun-06 6:39 
AnswerRe: VB.NET Halftone Pattern Image Pin
Christian Graus15-Jun-06 23:21
protectorChristian Graus15-Jun-06 23:21 
QuestionBits and Bytes Pin
Peace2u15-Jun-06 6:04
Peace2u15-Jun-06 6:04 
AnswerRe: Bits and Bytes Pin
MohammadAmiry15-Jun-06 6:57
MohammadAmiry15-Jun-06 6:57 
AnswerRe: Bits and Bytes Pin
Guffa15-Jun-06 7:35
Guffa15-Jun-06 7:35 
QuestionRe: Bits and Bytes Pin
Peace2u15-Jun-06 9:32
Peace2u15-Jun-06 9:32 
AnswerRe: Bits and Bytes Pin
Guffa15-Jun-06 9:58
Guffa15-Jun-06 9:58 
GeneralRe: Bits and Bytes Pin
Peace2u15-Jun-06 20:32
Peace2u15-Jun-06 20:32 
Hi Guffa,

Ok now I use
<br />
Dim MyBitArray As BitArray = New BitArray(MyBitLength)<br />
Dim MyBytes(BitsinByte) As Byte<br />
x = 0<br />
Do Until x = MyTable.Rows.Count - 1<br />
        i = 0<br />
	Line1a = ""<br />
	Line1b = ""<br />
	Do Until i = MyBitLength<br />
		MyBitArray.Set(i, True)<br />
		ColumnNames(i) = MyColumns.Rows(i).Item("name")<br />
		i += 1<br />
	Loop<br />
	MyBitArray.CopyTo(MyBytes, 0)<br />
	For j = 0 To MyBytes.Length - 1<br />
		Line1a &= MyBytes(j)<br />
	Next<br />
x += 1  <br />
Loop<br />


When I look at the values in MyByte it gives me 255, is that right?

Thank you in Advance,



/Peace2u my friends
AnswerRe: Bits and Bytes Pin
Guffa15-Jun-06 22:20
Guffa15-Jun-06 22:20 
GeneralRe: Bits and Bytes [modified] Pin
Peace2u15-Jun-06 23:16
Peace2u15-Jun-06 23:16 
AnswerRe: Bits and Bytes Pin
Guffa16-Jun-06 5:22
Guffa16-Jun-06 5:22 
QuestionVariable enum? Pin
DJLarZ15-Jun-06 4:41
DJLarZ15-Jun-06 4:41 
AnswerRe: Variable enum? Pin
Duncan Edwards Jones15-Jun-06 5:08
professionalDuncan Edwards Jones15-Jun-06 5:08 
AnswerRe: Variable enum? Pin
Kschuler15-Jun-06 11:05
Kschuler15-Jun-06 11:05 
Questioncrystal reports in vb.net 1.1 Pin
amaneet15-Jun-06 3:35
amaneet15-Jun-06 3:35 
AnswerRe: crystal reports in vb.net 1.1 Pin
Dinuj Nath15-Jun-06 4:37
Dinuj Nath15-Jun-06 4:37 
QuestionConvert to vb.net Pin
miirsad15-Jun-06 2:43
miirsad15-Jun-06 2:43 
AnswerRe: Convert to vb.net Pin
Socheat.Net15-Jun-06 21:53
Socheat.Net15-Jun-06 21:53 
GeneralRe: Convert to vb.net Pin
miirsad16-Jun-06 3:48
miirsad16-Jun-06 3:48 
Questionerror : Could not access CDO.Message object Pin
thomas_joyee15-Jun-06 1:47
thomas_joyee15-Jun-06 1:47 
AnswerRe: error : Could not access CDO.Message object Pin
Corinna John15-Jun-06 20:09
Corinna John15-Jun-06 20:09 
QuestionWeb Service Time Out Pin
nitin_ion15-Jun-06 1:36
nitin_ion15-Jun-06 1:36 
AnswerRe: Web Service Time Out Pin
DJLarZ15-Jun-06 4:37
DJLarZ15-Jun-06 4:37 
QuestionConvert Pin
Socheat.Net14-Jun-06 23:54
Socheat.Net14-Jun-06 23:54 
AnswerRe: Convert Pin
Guffa15-Jun-06 1:41
Guffa15-Jun-06 1:41 

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.