Click here to Skip to main content
16,005,826 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPublish application in start-->program list Pin
vijay24826-Nov-09 0:08
vijay24826-Nov-09 0:08 
QuestionLabel Array HELP Pin
PAguilar095-Nov-09 18:20
PAguilar095-Nov-09 18:20 
AnswerRe: Label Array HELP Pin
Christian Graus5-Nov-09 18:57
protectorChristian Graus5-Nov-09 18:57 
AnswerRe: Label Array HELP Pin
dan!sh 5-Nov-09 21:35
professional dan!sh 5-Nov-09 21:35 
GeneralRe: Label Array HELP Pin
PAguilar095-Nov-09 22:42
PAguilar095-Nov-09 22:42 
GeneralRe: Label Array HELP Pin
The Man from U.N.C.L.E.5-Nov-09 22:51
The Man from U.N.C.L.E.5-Nov-09 22:51 
GeneralRe: Label Array HELP Pin
PAguilar095-Nov-09 23:03
PAguilar095-Nov-09 23:03 
GeneralRe: Label Array HELP Pin
Sigurd Johansen6-Nov-09 10:18
Sigurd Johansen6-Nov-09 10:18 
Why not add a label at runtime?

Private Sub btnCal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCal.Click
Dim StrArr() As String
Dim Str As String
Dim i As Integer
Str = txtInput.Text
StrArr = Str.Split(" ")

For i = 0 To StrArr.Length - 1

'Add a label at runtime
Dim MyLabel As New Label
Me.Controls.Add(MyLabel)
With MyLabel
.Left = 100
.Top = 50 + i * 20
.Visible = True
End With

MyLabel.Text = StrArr(i) 'gets the first, second etc value from the array

Next
End Sub

Sigurd Johansen
GeneralRe: Label Array HELP Pin
PAguilar096-Nov-09 19:23
PAguilar096-Nov-09 19:23 
GeneralRe: Label Array HELP Pin
Sigurd Johansen7-Nov-09 7:23
Sigurd Johansen7-Nov-09 7:23 
GeneralRe: Label Array HELP Pin
PAguilar097-Nov-09 15:45
PAguilar097-Nov-09 15:45 
GeneralRe: Label Array HELP Pin
DaveAuld6-Nov-09 21:30
professionalDaveAuld6-Nov-09 21:30 
QuestionOutlook Contact Picture Path Problem Pin
dcdhingra5-Nov-09 18:15
dcdhingra5-Nov-09 18:15 
QuestionHelp with Modules-specifically subprocedures Pin
bphoopstar5-Nov-09 18:12
bphoopstar5-Nov-09 18:12 
AnswerRe: Help with Modules-specifically subprocedures Pin
Christian Graus5-Nov-09 19:00
protectorChristian Graus5-Nov-09 19:00 
Questionhow to read data from store procuder in dataset ? Pin
Pitou HORT5-Nov-09 16:41
Pitou HORT5-Nov-09 16:41 
AnswerRe: how to read data from store procuder in dataset ? Pin
Christian Graus5-Nov-09 19:01
protectorChristian Graus5-Nov-09 19:01 
GeneralRe: how to read data from store procuder in dataset ? Pin
Pitou HORT5-Nov-09 19:46
Pitou HORT5-Nov-09 19:46 
GeneralRe: how to read data from store procuder in dataset ? Pin
Christian Graus5-Nov-09 20:16
protectorChristian Graus5-Nov-09 20:16 
GeneralRe: how to read data from store procuder in dataset ? Pin
Pitou HORT5-Nov-09 21:01
Pitou HORT5-Nov-09 21:01 
Questionappend menustrip items Pin
ivo755-Nov-09 7:51
ivo755-Nov-09 7:51 
AnswerRe: append menustrip items Pin
Christian Graus5-Nov-09 11:04
protectorChristian Graus5-Nov-09 11:04 
AnswerRe: append menustrip items Pin
The Man from U.N.C.L.E.5-Nov-09 22:54
The Man from U.N.C.L.E.5-Nov-09 22:54 
Question0.2+0.1<>0.3 in For Pin
The real $M@5-Nov-09 7:14
The real $M@5-Nov-09 7:14 
AnswerRe: 0.2+0.1<>0.3 in For Pin
Gideon Engelberth5-Nov-09 7:37
Gideon Engelberth5-Nov-09 7:37 

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.