Click here to Skip to main content
16,004,944 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRandom Exclamation Marks Pin
Marc Paliotti10-Nov-06 9:31
Marc Paliotti10-Nov-06 9:31 
QuestionReading in code from a text to be excute inside of a vb.net project Pin
angelaflowers10-Nov-06 8:44
angelaflowers10-Nov-06 8:44 
AnswerRe: Reading in code from a text to be excute inside of a vb.net project Pin
Steven J Jowett10-Nov-06 13:46
Steven J Jowett10-Nov-06 13:46 
QuestionText box question Pin
babyray200210-Nov-06 5:27
babyray200210-Nov-06 5:27 
AnswerRe: Text box question Pin
nlarson1110-Nov-06 5:48
nlarson1110-Nov-06 5:48 
AnswerRe: Text box question Pin
Richard Jones10-Nov-06 6:48
Richard Jones10-Nov-06 6:48 
QuestionHow to count elements in an array? Pin
code63110-Nov-06 4:54
code63110-Nov-06 4:54 
AnswerRe: How to count elements in an array? Pin
nlarson1110-Nov-06 5:40
nlarson1110-Nov-06 5:40 
Dim ia() As Int16 = {0, 3, 6, 2, 3, 5, 6, 5, 34, 2, 2, 3, 45, 6, 78, 89, 78, 6, 45, 43}

Dim iaBin(,) As Int16 = Nothing, bFound As Boolean

ReDim iaBin(1, 0)

For i As Int16 = 0 To ia.GetUpperBound(0)
bFound = False

For j As Int16 = 0 To iaBin.GetUpperBound(1)
If iaBin(0, j) = ia(i) Then
iaBin(1, j) += 1
bFound = True
Exit For
End If
Next

If Not bFound Then
ReDim Preserve iaBin(1, iaBin.GetUpperBound(1) + 1)
iaBin(0, iaBin.GetUpperBound(1)) = ia(i)
iaBin(1, iaBin.GetUpperBound(1)) = 1
End If
Next

For i As Int16 = 0 To iaBin.GetUpperBound(1)
MsgBox(iaBin(0, i) & "::" & iaBin(1, i))
Next
QuestionReadPixel in image Pin
charchabil0310-Nov-06 4:11
charchabil0310-Nov-06 4:11 
AnswerRe: ReadPixel in image Pin
indianet10-Nov-06 4:38
indianet10-Nov-06 4:38 
QuestionReplace * with empty space Pin
jds120710-Nov-06 3:45
jds120710-Nov-06 3:45 
AnswerRe: Replace * with empty space Pin
nlarson1110-Nov-06 3:54
nlarson1110-Nov-06 3:54 
GeneralRe: Replace * with empty space Pin
jds120710-Nov-06 4:22
jds120710-Nov-06 4:22 
QuestionTransfer messy text file to datagrid Pin
penguin500010-Nov-06 1:55
penguin500010-Nov-06 1:55 
AnswerRe: Transfer messy text file to datagrid Pin
RichardBerry10-Nov-06 3:21
RichardBerry10-Nov-06 3:21 
Question.net addin putlook Pin
K edar V10-Nov-06 0:38
K edar V10-Nov-06 0:38 
AnswerRe: .net addin putlook Pin
Guffa10-Nov-06 13:12
Guffa10-Nov-06 13:12 
GeneralRe: .net addin putlook Pin
K edar V10-Nov-06 23:43
K edar V10-Nov-06 23:43 
QuestionQuestions on Forms Pin
Pete Newman10-Nov-06 0:28
Pete Newman10-Nov-06 0:28 
AnswerRe: Questions on Forms Pin
nlarson1110-Nov-06 4:18
nlarson1110-Nov-06 4:18 
QuestionClose all the application in vb.net Pin
V Senthil9-Nov-06 22:53
V Senthil9-Nov-06 22:53 
AnswerRe: Close all the application in vb.net Pin
b43r_3oo310-Nov-06 0:21
b43r_3oo310-Nov-06 0:21 
GeneralRe: Close all the application in vb.net Pin
V Senthil10-Nov-06 1:33
V Senthil10-Nov-06 1:33 
GeneralRe: Close all the application in vb.net Pin
Dave Kreskowiak10-Nov-06 2:48
mveDave Kreskowiak10-Nov-06 2:48 
QuestionVS2005 - Where is the Form's Sub New Pin
RichardBerry9-Nov-06 22:06
RichardBerry9-Nov-06 22:06 

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.