Click here to Skip to main content
15,903,523 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Error Description [-214767259] Pin
Vimalsoft(Pty) Ltd2-Oct-09 4:03
professionalVimalsoft(Pty) Ltd2-Oct-09 4:03 
AnswerRe: Error Description [-214767259] Pin
Dave Kreskowiak2-Oct-09 4:09
mveDave Kreskowiak2-Oct-09 4:09 
QuestionProblem in IF statement Pin
vijay24821-Oct-09 23:04
vijay24821-Oct-09 23:04 
AnswerRe: Problem in IF statement Pin
Christian Graus1-Oct-09 23:07
protectorChristian Graus1-Oct-09 23:07 
GeneralMessage Closed Pin
1-Oct-09 23:32
vijay24821-Oct-09 23:32 
GeneralRe: Problem in IF statement Pin
Christian Graus2-Oct-09 0:43
protectorChristian Graus2-Oct-09 0:43 
AnswerRe: Problem in IF statement Pin
Luc Pattyn2-Oct-09 2:20
sitebuilderLuc Pattyn2-Oct-09 2:20 
QuestionDataGridView Checkbox - Check Event Pin
jeshra2791-Oct-09 19:44
jeshra2791-Oct-09 19:44 
Hi everyone,

I would like to use the DataGridView Checkbox like a normal checkbox.

When someone clicks on it I want to get a checked or changed event and be able to test if the box was checked or unchecked. I have written the following code:

Private Sub DataGridView1_CurrentCellDirtyStateChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGridsearch.CurrentCellDirtyStateChanged

Dim checkboxcell As DataGridViewCheckBoxCell

Try
If (DataGridsearch.IsCurrentCellDirty) Then
DataGridsearch.CommitEdit(DataGridViewDataErrorContexts.Commit)
End If

If (checkboxcell.Value) Then
MsgBox("Display a message")
End If

Catch ex As Exception

End Try
End Sub

I think I am doing something wrong, Can someone suggest me a piece of code for this?

Thnaks.
AnswerRe: DataGridView Checkbox - Check Event Pin
Tom Deketelaere1-Oct-09 22:48
professionalTom Deketelaere1-Oct-09 22:48 
AnswerRe: DataGridView Checkbox - Check Event Pin
decuria7-Dec-10 8:32
decuria7-Dec-10 8:32 
QuestionFTP in vb.net Pin
JollyMansArt1-Oct-09 17:21
JollyMansArt1-Oct-09 17:21 
AnswerRe: FTP in vb.net Pin
Tom Deketelaere1-Oct-09 21:54
professionalTom Deketelaere1-Oct-09 21:54 
AnswerRe: FTP in vb.net Pin
Dave Kreskowiak2-Oct-09 4:00
mveDave Kreskowiak2-Oct-09 4:00 
QuestionDelegates confusion Pin
Sonhospa1-Oct-09 3:11
Sonhospa1-Oct-09 3:11 
AnswerRe: Delegates confusion Pin
Luc Pattyn1-Oct-09 3:44
sitebuilderLuc Pattyn1-Oct-09 3:44 
GeneralRe: Delegates confusion Pin
Sonhospa1-Oct-09 4:22
Sonhospa1-Oct-09 4:22 
GeneralRe: Delegates confusion Pin
Luc Pattyn1-Oct-09 4:34
sitebuilderLuc Pattyn1-Oct-09 4:34 
QuestionNeed help with Parsing Pin
Hawkster181-Oct-09 3:10
Hawkster181-Oct-09 3:10 
AnswerRe: Need help with Parsing Pin
Luc Pattyn1-Oct-09 3:47
sitebuilderLuc Pattyn1-Oct-09 3:47 
GeneralRe: Need help with Parsing Pin
Hawkster181-Oct-09 3:53
Hawkster181-Oct-09 3:53 
GeneralRe: Need help with Parsing Pin
Hawkster181-Oct-09 3:59
Hawkster181-Oct-09 3:59 
GeneralRe: Need help with Parsing Pin
Luc Pattyn1-Oct-09 4:04
sitebuilderLuc Pattyn1-Oct-09 4:04 
AnswerRe: Need help with Parsing Pin
Dave Kreskowiak1-Oct-09 3:49
mveDave Kreskowiak1-Oct-09 3:49 
GeneralRe: Need help with Parsing Pin
Hawkster181-Oct-09 3:57
Hawkster181-Oct-09 3:57 
GeneralRe: Need help with Parsing Pin
Dave Kreskowiak1-Oct-09 3:59
mveDave Kreskowiak1-Oct-09 3:59 

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.