Click here to Skip to main content
15,920,632 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Convert Long to Binary Representation Pin
Dave Kreskowiak7-Sep-06 5:22
mveDave Kreskowiak7-Sep-06 5:22 
QuestionAdd Control during runtime Pin
bamnet6-Sep-06 16:11
bamnet6-Sep-06 16:11 
AnswerRe: Add Control during runtime Pin
Dave Sexton7-Sep-06 0:54
Dave Sexton7-Sep-06 0:54 
GeneralRe: Add Control during runtime Pin
bamnet7-Sep-06 4:11
bamnet7-Sep-06 4:11 
GeneralRe: Add Control during runtime Pin
Dave Kreskowiak7-Sep-06 5:13
mveDave Kreskowiak7-Sep-06 5:13 
GeneralRe: Add Control during runtime Pin
bamnet7-Sep-06 7:30
bamnet7-Sep-06 7:30 
QuestionRe: Add Control during runtime Pin
bamnet7-Sep-06 16:19
bamnet7-Sep-06 16:19 
AnswerRe: Add Control during runtime Pin
Dave Sexton7-Sep-06 22:07
Dave Sexton7-Sep-06 22:07 
Looping is easy, the problem I think you'll encounter is not adding more than one label but determining how many too add.

Modifying the code above slightly to demonstrate the loop -

Dim MyLabel As Label 'declare at modular level
'pass the value of the number of labels you'll need to 
'the CreateLabels sub
Private Sub CreateLabels(ByVal NumberOfLabels as Integer)
    Dim i As Integer

    Do Until i = NumberOfLabels
      'create a new instance of a label
      MyLabel = New Label
      'add formatting, positioning, event handlers, etc. here
      Me.PanelL.Controls.Add(MyLabel) 'add the label to the panel
      i += 1 'increment i so as to avoid an infinite loop
     Loop

End Sub

QuestionHow do I return only the columns I'm interested in? Pin
Quecumber2566-Sep-06 10:21
Quecumber2566-Sep-06 10:21 
Questionneed some help with printing in VB.net Pin
olekrh6-Sep-06 7:18
olekrh6-Sep-06 7:18 
AnswerRe: need some help with printing in VB.net Pin
Stephen McGuire6-Sep-06 8:49
Stephen McGuire6-Sep-06 8:49 
QuestionDelete Executable Pin
_mubashir6-Sep-06 5:23
_mubashir6-Sep-06 5:23 
AnswerRe: Delete Executable Pin
Dave Kreskowiak6-Sep-06 6:52
mveDave Kreskowiak6-Sep-06 6:52 
GeneralRe: Delete Executable Pin
Ray Cassick6-Sep-06 11:30
Ray Cassick6-Sep-06 11:30 
GeneralRe: Delete Executable Pin
Dave Kreskowiak7-Sep-06 3:46
mveDave Kreskowiak7-Sep-06 3:46 
QuestionConsole application with forms - how can I show forms and keep the console application running? Pin
EnglishRob6-Sep-06 4:55
EnglishRob6-Sep-06 4:55 
AnswerRe: Console application with forms - how can I show forms and keep the console application running? Pin
Dave Kreskowiak6-Sep-06 6:57
mveDave Kreskowiak6-Sep-06 6:57 
GeneralRe: Console application with forms - how can I show forms and keep the console application running? Pin
EnglishRob7-Sep-06 0:07
EnglishRob7-Sep-06 0:07 
GeneralRe: Console application with forms - how can I show forms and keep the console application running? Pin
Dave Kreskowiak7-Sep-06 3:40
mveDave Kreskowiak7-Sep-06 3:40 
QuestionInstallShield 11.5 and Crystal Reports Merge Modules Pin
Steven J Jowett6-Sep-06 4:18
Steven J Jowett6-Sep-06 4:18 
QuestionMaking components Pin
Magno R. Vasquez6-Sep-06 3:19
Magno R. Vasquez6-Sep-06 3:19 
AnswerRe: Making components Pin
Dave Sexton6-Sep-06 4:00
Dave Sexton6-Sep-06 4:00 
QuestionHow Get Cpu Name Pin
FriendlySoluations6-Sep-06 2:04
FriendlySoluations6-Sep-06 2:04 
AnswerRe: How Get Cpu Name Pin
Clanguage6-Sep-06 2:50
Clanguage6-Sep-06 2:50 
GeneralRe: How Get Cpu Name Pin
Colin Angus Mackay6-Sep-06 3:17
Colin Angus Mackay6-Sep-06 3:17 

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.