Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: RGB to YCbCr color model? Pin
Christian Graus18-Jan-08 9:17
protectorChristian Graus18-Jan-08 9:17 
AnswerRe: RGB to YCbCr color model? Pin
Luc Pattyn18-Jan-08 10:28
sitebuilderLuc Pattyn18-Jan-08 10:28 
GeneralSendMessage API Pin
ritz123417-Jan-08 18:35
ritz123417-Jan-08 18:35 
Questionapplication virtual Pin
Tauseef A17-Jan-08 18:17
Tauseef A17-Jan-08 18:17 
GeneralRe: application virtual Pin
Colin Angus Mackay18-Jan-08 0:19
Colin Angus Mackay18-Jan-08 0:19 
GeneralRe: application virtual Pin
Paul Conrad19-Jan-08 7:17
professionalPaul Conrad19-Jan-08 7:17 
QuestionRe: application virtual Pin
Tauseef A20-Jan-08 4:07
Tauseef A20-Jan-08 4:07 
QuestionPass 1-D array values to 2-D array Pin
bj9308117-Jan-08 14:35
bj9308117-Jan-08 14:35 
I tried to use the following code to pass 1-D array value to 2-D array. This code works, but I wonder if there is a more efficient way to implement this. Thanks.


Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim i As Integer = 0
Dim DeltaGamma As Double = 0.3
Dim DeltaTapPoint As Double = 3
Dim DACArray() As Double = New Double() {1, 3, 5, 7, 9}
Dim NewArray(5, 4) As Double
Do While DeltaGamma > 0.1 And DeltaTapPoint > 2.0
For j = 0 To 4
NewArray(i, j) = DACArray(j)
Next
ProcessArray(DACArray)
i += 1
If i > 5 Then
DeltaGamma = 0.1
DeltaTapPoint = 2
End If
Loop
End Sub

Public Sub ProcessArray(ByRef array() As Double)
Dim j As Integer
For j = 0 To 4
array(j) *= 2
Next
End Sub
GeneralRe: Pass 1-D array values to 2-D array Pin
Paul Conrad29-Feb-08 4:37
professionalPaul Conrad29-Feb-08 4:37 
Generalfind the child node in the Treeview Pin
uglyeyes17-Jan-08 13:32
uglyeyes17-Jan-08 13:32 
GeneralRe: find the child node in the Treeview Pin
Justin Perez17-Jan-08 14:03
Justin Perez17-Jan-08 14:03 
GeneralRe: find the child node in the Treeview Pin
uglyeyes17-Jan-08 14:25
uglyeyes17-Jan-08 14:25 
GeneralRe: find the child node in the Treeview Pin
uglyeyes17-Jan-08 16:53
uglyeyes17-Jan-08 16:53 
GeneralRe: find the child node in the Treeview Pin
uglyeyes18-Jan-08 20:39
uglyeyes18-Jan-08 20:39 
Generalvalue member question (combo box) Pin
imonfiredammit17-Jan-08 9:06
imonfiredammit17-Jan-08 9:06 
GeneralRe: value member question (combo box) Pin
Jats_4ru17-Jan-08 23:57
Jats_4ru17-Jan-08 23:57 
QuestionHow to get Selected Item by keypress from Listview Pin
ejaz_pk17-Jan-08 8:46
ejaz_pk17-Jan-08 8:46 
GeneralRe: How to get Selected Item by keypress from Listview Pin
Smithers-Jones17-Jan-08 9:33
Smithers-Jones17-Jan-08 9:33 
QuestionHow to add datagridview selected items in listview Pin
ejaz_pk17-Jan-08 8:40
ejaz_pk17-Jan-08 8:40 
GeneralRe: How to add datagridview selected items in listview Pin
Scubapro26-Jan-08 1:00
Scubapro26-Jan-08 1:00 
QuestionChange TimeZone of Windows Pin
azmayullah17-Jan-08 3:49
azmayullah17-Jan-08 3:49 
QuestionHas this command been removed? Pin
Richard Jones17-Jan-08 2:09
Richard Jones17-Jan-08 2:09 
AnswerRe: Has this command been removed? Pin
Richard Jones17-Jan-08 2:17
Richard Jones17-Jan-08 2:17 
QuestionHow can I display a web page on a windows form Pin
SekharOne17-Jan-08 1:01
SekharOne17-Jan-08 1:01 
AnswerRe: How can I display a web page on a windows form Pin
Steven J Jowett17-Jan-08 1:31
Steven J Jowett17-Jan-08 1:31 

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.