Click here to Skip to main content
16,013,207 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to save and read data in and from Application.myapp file Save Pin
monafr8122-Apr-08 0:18
monafr8122-Apr-08 0:18 
GeneralFile saving/moving query Pin
Dalek Dave21-Apr-08 23:37
professionalDalek Dave21-Apr-08 23:37 
GeneralRe: File saving/moving query Pin
ChandraRam22-Apr-08 0:46
ChandraRam22-Apr-08 0:46 
GeneralTcpListener problem Pin
shee_dee8621-Apr-08 21:54
shee_dee8621-Apr-08 21:54 
GeneralRe: TcpListener problem Pin
Anoop Brijmohun22-Apr-08 3:09
Anoop Brijmohun22-Apr-08 3:09 
Questionregarding TableLayoutPanel control in vb.net 2.0 Pin
vijaylumar21-Apr-08 21:54
vijaylumar21-Apr-08 21:54 
Generaldisabled item in checkedlistbox Pin
helelark12321-Apr-08 21:44
helelark12321-Apr-08 21:44 
GeneralRe: disabled item in checkedlistbox Pin
C1AllenS22-Apr-08 4:47
C1AllenS22-Apr-08 4:47 
Hello,

Shay, if you need to disable only single item in the CheckedListBox, you can then try using
the ItemCheck() event of CheckedListBox. For example, in the given code snippet, I have disabled
the second item in the list.

<br />
Private Sub chk_ItemCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.ItemCheckEventArgs) Handles chk.ItemCheck<br />
<br />
        If e.Index = 1 Then<br />
<br />
            e.NewValue = e.CurrentValue<br />
<br />
        End If<br />
<br />
End Sub<br />


You can manipulate it more, by taking a global variable which will hold the index of the row to be
disabled. You can match that variable value with the e.index to decide at runtime which rows to be
disabled.

I hope this will help you.

Regards,
Allen

Allen Smith

Software Engineer
ComponentOne LLC
www.componentone.com

GeneralRe: disabled item in checkedlistbox Pin
helelark12322-Apr-08 19:26
helelark12322-Apr-08 19:26 
QuestionUpdating a control's text from another class...? Pin
Gadjuka21-Apr-08 21:21
Gadjuka21-Apr-08 21:21 
GeneralRe: Updating a control's text from another class...? Pin
Christian Graus21-Apr-08 21:23
protectorChristian Graus21-Apr-08 21:23 
GeneralRe: Updating a control's text from another class...? Pin
Gadjuka21-Apr-08 22:13
Gadjuka21-Apr-08 22:13 
GeneralRe: Updating a control's text from another class...? Pin
ChandraRam22-Apr-08 0:49
ChandraRam22-Apr-08 0:49 
GeneralRe: Updating a control's text from another class...? Pin
drgbg22-Apr-08 18:22
drgbg22-Apr-08 18:22 
GeneralRe: Updating a control's text from another class...? Pin
Gadjuka22-Apr-08 21:43
Gadjuka22-Apr-08 21:43 
GeneralRe: Updating a control's text from another class...? Pin
drgbg23-Apr-08 0:22
drgbg23-Apr-08 0:22 
GeneralRetrieving Html code of web site Pin
sumit703421-Apr-08 20:58
sumit703421-Apr-08 20:58 
GeneralRe: Retrieving Html code of web site Pin
Steven J Jowett22-Apr-08 22:30
Steven J Jowett22-Apr-08 22:30 
GeneralPage SetUp in DataReport (VisualBasic) Pin
Vignesh Krishnan21-Apr-08 20:20
Vignesh Krishnan21-Apr-08 20:20 
GeneralRe: Page SetUp in DataReport (VisualBasic) Pin
r_mohd21-Apr-08 23:08
r_mohd21-Apr-08 23:08 
GeneralRe: Page SetUp in DataReport (VisualBasic) Pin
Vignesh Krishnan22-Apr-08 0:48
Vignesh Krishnan22-Apr-08 0:48 
GeneralOpening multiple web sites Pin
sumit703421-Apr-08 18:23
sumit703421-Apr-08 18:23 
GeneralRe: Opening multiple web sites Pin
Christian Graus21-Apr-08 18:34
protectorChristian Graus21-Apr-08 18:34 
GeneralRe: Opening multiple web sites Pin
sumit703421-Apr-08 18:52
sumit703421-Apr-08 18:52 
GeneralRe: Opening multiple web sites Pin
sumit703421-Apr-08 19:08
sumit703421-Apr-08 19:08 

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.