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

Visual Basic

 
GeneralRe: Saving font parameters to a Text file Pin
rwestgraham30-Sep-05 15:40
rwestgraham30-Sep-05 15:40 
GeneralRe: Saving font parameters to a Text file Pin
PatriceB1-Oct-05 1:44
PatriceB1-Oct-05 1:44 
GeneralRe: Saving font parameters to a Text file Pin
PatriceB1-Oct-05 6:12
PatriceB1-Oct-05 6:12 
GeneralRe: Saving font parameters to a Text file Pin
rwestgraham1-Oct-05 10:50
rwestgraham1-Oct-05 10:50 
QuestionPushing data to Excel Pin
Member 228077329-Sep-05 6:32
Member 228077329-Sep-05 6:32 
QuestionExport to app.config file Pin
PHDENG8129-Sep-05 6:26
PHDENG8129-Sep-05 6:26 
QuestionEfficient way to clear all controls on page Pin
jszpila29-Sep-05 6:24
jszpila29-Sep-05 6:24 
AnswerRe: Efficient way to clear all controls on page Pin
_mubashir29-Sep-05 23:12
_mubashir29-Sep-05 23:12 
Hello!...

try this one..........I am considering that you have these all these controls in some parent control like GroupBox.

Here is the code

Dim ctrl As Control
For Each ctrl In GroupBoxName.Controls
ctrl.Text = ""
Next


Now for differentiating b/w the controls say Textbox and Checkbox etc it would be very easy if you have some meaningful control names e.f textbox name starts with 'txt' and checkbox with 'chk' or whatever......If this is so then you can check for the control names for finding out the type of control.......

I hope this will solve ur problem

_mubashir



Marriala Technologies,
Pakistan.
GeneralRe: Efficient way to clear all controls on page Pin
jszpila30-Sep-05 4:14
jszpila30-Sep-05 4:14 
GeneralRe: Efficient way to clear all controls on page Pin
jszpila30-Sep-05 4:23
jszpila30-Sep-05 4:23 
Questioncontextmenu right click Pin
andy3829-Sep-05 6:04
andy3829-Sep-05 6:04 
QuestionVisual Basic IDE Pin
theart29-Sep-05 3:45
theart29-Sep-05 3:45 
AnswerRe: Visual Basic IDE Pin
Brian Van Beek29-Sep-05 5:17
Brian Van Beek29-Sep-05 5:17 
GeneralRe: Visual Basic IDE Pin
Anonymous29-Sep-05 22:38
Anonymous29-Sep-05 22:38 
GeneralRe: Visual Basic IDE Pin
S Douglas30-Sep-05 0:33
professionalS Douglas30-Sep-05 0:33 
QuestionExporting to XML Pin
PHDENG8129-Sep-05 2:10
PHDENG8129-Sep-05 2:10 
AnswerRe: Exporting to XML Pin
Dave Kreskowiak29-Sep-05 2:49
mveDave Kreskowiak29-Sep-05 2:49 
GeneralRe: Exporting to XML Pin
PHDENG8129-Sep-05 3:22
PHDENG8129-Sep-05 3:22 
Questioneclipse for vb.net programming Pin
chitranjan gohil28-Sep-05 23:36
chitranjan gohil28-Sep-05 23:36 
QuestionFinalize and dispose Pin
Rajesh_K_Sharma28-Sep-05 23:08
Rajesh_K_Sharma28-Sep-05 23:08 
QuestionAdd associated file icon to listview Pin
shinay28-Sep-05 20:54
shinay28-Sep-05 20:54 
Questionexecuting command from VB.net application Pin
shreeyaz28-Sep-05 19:40
shreeyaz28-Sep-05 19:40 
AnswerRe: executing command from VB.net application Pin
Steve Pullan28-Sep-05 19:52
Steve Pullan28-Sep-05 19:52 
GeneralRe: executing command from VB.net application Pin
shreeyaz28-Sep-05 20:06
shreeyaz28-Sep-05 20:06 
GeneralRe: executing command from VB.net application Pin
Steve Pullan28-Sep-05 20:29
Steve Pullan28-Sep-05 20:29 

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.