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

Visual Basic

 
AnswerRe: Datagridview Pin
abhi_n_ind7-Sep-06 3:24
abhi_n_ind7-Sep-06 3:24 
GeneralRe: Datagridview Pin
Jodd7-Sep-06 7:23
Jodd7-Sep-06 7:23 
QuestionHow to trap usercontrol click event in aspx page Pin
Nathan Buckley6-Sep-06 16:45
Nathan Buckley6-Sep-06 16:45 
AnswerRe: How to trap usercontrol click event in aspx page Pin
Rana Muhammad Javed Khan6-Sep-06 20:42
Rana Muhammad Javed Khan6-Sep-06 20:42 
QuestionConvert Long to Binary Representation Pin
Loay Al Lusi6-Sep-06 16:23
Loay Al Lusi6-Sep-06 16:23 
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 
bamnet wrote:
have the most number of labels possible that fit on the screen.


bamnet wrote:
create lots of them


Personally, I think that's a bad idea. the more controls you have on a form the longer it'll take to show - consider users with lower-end machines.

The code you'd be needing would look something like this (out my head)

Dim MyLabel As Label 'declare at modular level

Private Sub CreateLabels()
'create a new instance of a label
MyLabel = New Label
'add formatting, positioning, event handlers, etc. here
Me.Controls.Add(MyLabel) 'add the label to the form.
End Sub


You'll probably have to write functions to return values of how many labels you'll need as well as where to position them.
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 
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 

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.