Click here to Skip to main content
15,906,816 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Directory List/File Busy Pin
Dave Kreskowiak26-Jun-06 9:07
mveDave Kreskowiak26-Jun-06 9:07 
GeneralRe: Directory List/File Busy Pin
Scott_Roberts26-Jun-06 9:16
Scott_Roberts26-Jun-06 9:16 
GeneralRe: Directory List/File Busy Pin
Dave Kreskowiak27-Jun-06 1:29
mveDave Kreskowiak27-Jun-06 1:29 
GeneralRe: Directory List/File Busy Pin
Scott_Roberts26-Jun-06 12:59
Scott_Roberts26-Jun-06 12:59 
Questioncontrolling playback speed of audio files. Pin
mkm300526-Jun-06 7:41
mkm300526-Jun-06 7:41 
AnswerRe: controlling playback speed of audio files. Pin
Dave Kreskowiak26-Jun-06 8:47
mveDave Kreskowiak26-Jun-06 8:47 
QuestionHow do I use Select Case on checkboxes in a Groupbox control? Pin
Rashar26-Jun-06 6:34
Rashar26-Jun-06 6:34 
AnswerRe: How do I use Select Case on checkboxes in a Groupbox control? Pin
Dave Kreskowiak26-Jun-06 8:45
mveDave Kreskowiak26-Jun-06 8:45 
Rashar wrote:
Select Case GroupBox1.Controls
Case chkbox1.CheckState = CheckState.Checked


VB.NET won't work like that. Since you've specified GroupBox1.Controls in the Select statement, you can only specify properties of the Controls collection, not it's contents.

You'll have to enumerate the controls collection to get this to work:
For Each gbc As Control in GroupBox1.Controls
    Select Case gbc.Name
        Case "chkbox1":
            If gbc.CheckState = CheckState.Checked Then
                ...
            End If
    End Select
Next



Dave Kreskowiak
Microsoft MVP - Visual Basic

Questionhow can i convert vb6 source file to vb.net 2003 file Pin
saneng26-Jun-06 6:24
saneng26-Jun-06 6:24 
AnswerRe: how can i convert vb6 source file to vb.net 2003 file Pin
Dave Kreskowiak26-Jun-06 8:35
mveDave Kreskowiak26-Jun-06 8:35 
QuestionHow can I convert VB6 to VB.NET2003 Pin
Adekolurejo26-Jun-06 6:10
Adekolurejo26-Jun-06 6:10 
AnswerRe: How can I convert VB6 to VB.NET2003 Pin
Dave Kreskowiak26-Jun-06 8:30
mveDave Kreskowiak26-Jun-06 8:30 
QuestionVBScript to split file path into 3 bits Pin
mil_an26-Jun-06 5:43
mil_an26-Jun-06 5:43 
AnswerRe: VBScript to split file path into 3 bits [modified] Pin
Dave Kreskowiak26-Jun-06 8:33
mveDave Kreskowiak26-Jun-06 8:33 
GeneralRe: VBScript to split file path into 3 bits Pin
mil_an28-Jun-06 0:47
mil_an28-Jun-06 0:47 
Questionslovenian codepage Pin
Marc Soleda26-Jun-06 4:46
Marc Soleda26-Jun-06 4:46 
QuestionAvoid Validation while closing the form Pin
nagarajanrj26-Jun-06 4:43
nagarajanrj26-Jun-06 4:43 
AnswerRe: Avoid Validation while closing the form Pin
Dave Kreskowiak26-Jun-06 5:07
mveDave Kreskowiak26-Jun-06 5:07 
QuestionRemoving application from the bottom panel [modified] Pin
mikeskeeter26-Jun-06 4:24
mikeskeeter26-Jun-06 4:24 
AnswerRe: Removing application from the bottom panel Pin
Dave Kreskowiak26-Jun-06 5:01
mveDave Kreskowiak26-Jun-06 5:01 
QuestionHelp required in mdi child form Pin
bzasri26-Jun-06 3:15
bzasri26-Jun-06 3:15 
AnswerRe: Help required in mdi child form Pin
Dave Kreskowiak26-Jun-06 4:59
mveDave Kreskowiak26-Jun-06 4:59 
QuestionTOOLBAR Events Pin
codeadair26-Jun-06 3:06
codeadair26-Jun-06 3:06 
AnswerRe: TOOLBAR Events Pin
Coolesh26-Jun-06 4:02
Coolesh26-Jun-06 4:02 
GeneralRe: TOOLBAR Events Pin
codeadair26-Jun-06 14:58
codeadair26-Jun-06 14:58 

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.