Click here to Skip to main content
15,908,173 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to add all the items of treeview within the combobox? Pin
Milad.Biroonvand8-Nov-09 2:31
Milad.Biroonvand8-Nov-09 2:31 
GeneralRe: How to add all the items of treeview within the combobox? Pin
Steven J Jowett8-Nov-09 5:40
Steven J Jowett8-Nov-09 5:40 
QuestionHow to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 21:03
Milad.Biroonvand7-Nov-09 21:03 
RantRe: How to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 21:45
Milad.Biroonvand7-Nov-09 21:45 
AnswerRe: How to get a movie resolution (film file) Pin
Christian Graus7-Nov-09 22:31
protectorChristian Graus7-Nov-09 22:31 
GeneralRe: How to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 22:42
Milad.Biroonvand7-Nov-09 22:42 
GeneralRe: How to get a movie resolution (film file) Pin
Christian Graus8-Nov-09 8:58
protectorChristian Graus8-Nov-09 8:58 
QuestionArray Elements to different LABELS Pin
PAguilar097-Nov-09 19:54
PAguilar097-Nov-09 19:54 
Okay guys here is was i am trying to do. I have an array that has been loaded with a list of data. The user clicks a button that will take each element in the array and display it in SEPARATE Label Boxes. I need help figuring out how to accomplish this though. here is my current code, right now I have it sending all the elements in the array to only one Labelbox, and i need to do somethign like this:
label1.text WOULD EQUAL first value in array
label2.text WOULD EQUAL second value in array
label3.text would equal third value
label4.text would EQUAL 4th value in array

then the next item(5th value) would display in label 1
then the 6th would be in label2 and so on and so on..... until last element has passed to the corresponding label

Right now the code i am showing is only passing the whole array to label1
Private Sub btnDeal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDeal.Click
    '***********************************************************
    'this subroutine will deal each player his/her own cards
    'in a round robin fashion and display them in each
    'players label box
    '***********************************************************

    For i As Integer = 0 To cards2.Length - 1
        'cards2 being myarray

        'gets the values from the array
        lblPlayer1.Text += cards2(i)

    Next




End Sub

AnswerRe: Array Elements to different LABELS Pin
dan!sh 7-Nov-09 20:59
professional dan!sh 7-Nov-09 20:59 
AnswerRe: Array Elements to different LABELS Pin
Christian Graus7-Nov-09 22:32
protectorChristian Graus7-Nov-09 22:32 
QuestionColorDialog Help! Pin
thebiostyle7-Nov-09 15:43
thebiostyle7-Nov-09 15:43 
AnswerRe: ColorDialog Help! Pin
Christian Graus7-Nov-09 22:33
protectorChristian Graus7-Nov-09 22:33 
QuestionOne program code Gsm_Modem to send or receive has to face. Pin
Ir-win ChakadCo7-Nov-09 5:19
Ir-win ChakadCo7-Nov-09 5:19 
AnswerRe: One program code Gsm_Modem to send or receive has to face. Pin
Christian Graus7-Nov-09 9:13
protectorChristian Graus7-Nov-09 9:13 
QuestionHow open the OCX code in VB6.0 (Reach Full Source). Pin
Ir-win ChakadCo7-Nov-09 5:10
Ir-win ChakadCo7-Nov-09 5:10 
AnswerRe: How open the OCX code in VB6.0 (Reach Full Source). Pin
Christian Graus7-Nov-09 9:14
protectorChristian Graus7-Nov-09 9:14 
QuestionHow can we have been produced by OCX VB6.0 open code, we read it. Pin
Ir-win ChakadCo7-Nov-09 5:10
Ir-win ChakadCo7-Nov-09 5:10 
AnswerRe: How can we have been produced by OCX VB6.0 open code, we read it. Pin
Christian Graus7-Nov-09 9:14
protectorChristian Graus7-Nov-09 9:14 
QuestionAssigning an icon to an extension saved by .net application Pin
A.Najafi7-Nov-09 5:08
A.Najafi7-Nov-09 5:08 
AnswerRe: Assigning an icon to an extension saved by .net application Pin
Christian Graus7-Nov-09 10:23
protectorChristian Graus7-Nov-09 10:23 
QuestionRegSaveKey() : how to use this function? Pin
ghafarifar6-Nov-09 23:28
ghafarifar6-Nov-09 23:28 
AnswerRe: RegSaveKey() : how to use this function? Pin
Christian Graus6-Nov-09 23:38
protectorChristian Graus6-Nov-09 23:38 
AnswerRe: RegSaveKey() : how to use this function? Pin
ghafarifar6-Nov-09 23:43
ghafarifar6-Nov-09 23:43 
GeneralRe: RegSaveKey() : how to use this function? Pin
DaveAuld7-Nov-09 1:45
professionalDaveAuld7-Nov-09 1:45 
GeneralRe: RegSaveKey() : how to use this function? Pin
ghafarifar7-Nov-09 19:52
ghafarifar7-Nov-09 19:52 

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.