Click here to Skip to main content
15,902,276 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: gurbage values coming from the comport while using mscomm32.ocx Pin
Nanda_MR25-Nov-08 18:36
Nanda_MR25-Nov-08 18:36 
GeneralRe: gurbage values coming from the comport while using mscomm32.ocx Pin
souravghosh1825-Nov-08 18:41
souravghosh1825-Nov-08 18:41 
GeneralRe: gurbage values coming from the comport while using mscomm32.ocx Pin
Nanda_MR25-Nov-08 22:58
Nanda_MR25-Nov-08 22:58 
AnswerRe: gurbage values coming from the comport while using mscomm32.ocx Pin
Rajesh Anuhya25-Nov-08 19:11
professionalRajesh Anuhya25-Nov-08 19:11 
QuestionIs it possible to build a control array based on existing controls created at design time? Pin
Jon_Boy25-Nov-08 7:10
Jon_Boy25-Nov-08 7:10 
AnswerRe: Is it possible to build a control array based on existing controls created at design time? Pin
Jon_Boy25-Nov-08 7:36
Jon_Boy25-Nov-08 7:36 
GeneralRe: Is it possible to build a control array based on existing controls created at design time? Pin
Dave Kreskowiak25-Nov-08 8:20
mveDave Kreskowiak25-Nov-08 8:20 
AnswerRe: Is it possible to build a control array based on existing controls created at design time? Pin
Christian Graus25-Nov-08 9:34
protectorChristian Graus25-Nov-08 9:34 
You can loop over the controls collection using the as keyword. so if 'control' is the control value as you loop

Dim lb as Label = control as Label

I think that will work. lb will be null if the control is not a label. I am translating C# in my head here, the syntax may be wrong. But, in this way, you can find all the labels in your form and do the same thing to them.

Christian Graus

Driven to the arms of OSX by Vista.

AnswerRe: Is it possible to build a control array based on existing controls created at design time? Pin
Gideon Engelberth25-Nov-08 10:55
Gideon Engelberth25-Nov-08 10:55 
GeneralRe: Is it possible to build a control array based on existing controls created at design time? Pin
Jon_Boy26-Nov-08 3:51
Jon_Boy26-Nov-08 3:51 
QuestionReceiving the error "There is already an open DataReader associated with this Command which must be closed first." [solved] Pin
Marcus J. Smith25-Nov-08 4:08
professionalMarcus J. Smith25-Nov-08 4:08 
AnswerRe: Receiving the error "There is already an open DataReader associated with this Command which must be closed first." Pin
Ben Fair25-Nov-08 4:23
Ben Fair25-Nov-08 4:23 
GeneralRe: Receiving the error "There is already an open DataReader associated with this Command which must be closed first." Pin
Marcus J. Smith25-Nov-08 4:27
professionalMarcus J. Smith25-Nov-08 4:27 
Questiondelete questions Pin
yaya_star24-Nov-08 21:34
yaya_star24-Nov-08 21:34 
AnswerRe: delete questions Pin
Nanda_MR24-Nov-08 22:09
Nanda_MR24-Nov-08 22:09 
GeneralRe: delete questions Pin
yaya_star24-Nov-08 22:14
yaya_star24-Nov-08 22:14 
GeneralRe: delete questions Pin
indian14324-Nov-08 22:55
indian14324-Nov-08 22:55 
AnswerRe: delete questions Pin
Christian Graus24-Nov-08 23:08
protectorChristian Graus24-Nov-08 23:08 
GeneralRe: delete questions Pin
dan!sh 25-Nov-08 4:01
professional dan!sh 25-Nov-08 4:01 
QuestionHelp in reading File Pin
yaya_star24-Nov-08 21:28
yaya_star24-Nov-08 21:28 
AnswerRe: Help in reading File Pin
indian14324-Nov-08 21:43
indian14324-Nov-08 21:43 
GeneralRe: Help in reading File Pin
yaya_star24-Nov-08 21:52
yaya_star24-Nov-08 21:52 
GeneralRe: Help in reading File Pin
Ashfield24-Nov-08 22:10
Ashfield24-Nov-08 22:10 
GeneralRe: Help in reading File Pin
yaya_star24-Nov-08 22:15
yaya_star24-Nov-08 22:15 
GeneralRe: Help in reading File Pin
Ashfield25-Nov-08 1:13
Ashfield25-Nov-08 1:13 

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.