Click here to Skip to main content
15,900,973 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Printing support on hp laserjet 1010 in vb6 Pin
r_mohd1-Mar-08 18:38
r_mohd1-Mar-08 18:38 
GeneralTable in richtextbox Pin
helelark12329-Feb-08 23:23
helelark12329-Feb-08 23:23 
GeneralRe: Table in richtextbox Pin
Xmen Real 1-Mar-08 2:37
professional Xmen Real 1-Mar-08 2:37 
Questionhow can i handle a datagridview in vb.net Pin
r_mohd29-Feb-08 21:09
r_mohd29-Feb-08 21:09 
AnswerRe: how can i handle a datagridview in vb.net Pin
Christian Graus29-Feb-08 21:45
protectorChristian Graus29-Feb-08 21:45 
AnswerRe: how can i handle a datagridview in vb.net Pin
yogesh_kumar_agarwal29-Feb-08 21:49
yogesh_kumar_agarwal29-Feb-08 21:49 
GeneralRe: how can i handle a datagridview in vb.net Pin
r_mohd29-Feb-08 22:36
r_mohd29-Feb-08 22:36 
GeneralRe: how can i handle a datagridview in vb.net Pin
yogesh_kumar_agarwal29-Feb-08 22:51
yogesh_kumar_agarwal29-Feb-08 22:51 
Hi

You could use the code :-

<br />
dim i as integer<br />
<br />
for i=0 to DataGridView1.ColumnCount-1<br />
<br />
 <the code=""><br />
<br />
next<br />
<br />
</the>


Now i is your variable to navigate on columns, to handle the events most of the event handles has the colindex and rowindex property to determines the column and row you use like if i talk about the celcontentclick event the default event for datagridview then: -


<br />
<br />
Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick<br />
<br />
<br />
if e.ColumnIndex = 0 Then<br />
<br />
<some code=""><br />
<br />
End If<br />
<br />
<br />
<br />
End Sub<br />
<br />
</some>


Yogesh Agarwal
QuestionManage MDI childs Pin
highjo29-Feb-08 12:27
highjo29-Feb-08 12:27 
GeneralRe: Manage MDI childs Pin
J$29-Feb-08 13:16
J$29-Feb-08 13:16 
GeneralRe: Manage MDI childs Pin
yogesh_kumar_agarwal29-Feb-08 17:21
yogesh_kumar_agarwal29-Feb-08 17:21 
GeneralRe: Manage MDI childs Pin
darkelv29-Feb-08 17:59
darkelv29-Feb-08 17:59 
GeneralRe: Manage MDI childs Pin
Sachin Gokhale2-Mar-08 18:48
Sachin Gokhale2-Mar-08 18:48 
GeneralRe: Manage MDI childs Pin
highjo11-Mar-08 5:58
highjo11-Mar-08 5:58 
GeneralRe: Manage MDI childs Pin
Anoop Brijmohun2-Mar-08 23:13
Anoop Brijmohun2-Mar-08 23:13 
GeneralRe: Manage MDI childs Pin
highjo3-Mar-08 6:13
highjo3-Mar-08 6:13 
QuestionQuestio how to input massage into yahoo chat screen Internet Explorer_Server Pin
VB_Crazy29-Feb-08 9:10
VB_Crazy29-Feb-08 9:10 
GeneralRe: Questio how to input massage into yahoo chat screen Internet Explorer_Server Pin
Dave Kreskowiak29-Feb-08 9:25
mveDave Kreskowiak29-Feb-08 9:25 
GeneralRe: Questio how to input massage into yahoo chat screen Internet Explorer_Server Pin
VB_Crazy29-Feb-08 18:35
VB_Crazy29-Feb-08 18:35 
GeneralRe: Questio how to input massage into yahoo chat screen Internet Explorer_Server Pin
VB_Crazy12-Mar-08 9:08
VB_Crazy12-Mar-08 9:08 
JokeHey Pin
Nebstar29-Feb-08 6:36
Nebstar29-Feb-08 6:36 
GeneralRe: Hey Pin
Dave Kreskowiak29-Feb-08 7:16
mveDave Kreskowiak29-Feb-08 7:16 
GeneralRichTextBox RightToLeft problem Pin
helelark12329-Feb-08 6:30
helelark12329-Feb-08 6:30 
GeneralRe: RichTextBox RightToLeft problem Pin
Dave Kreskowiak29-Feb-08 7:20
mveDave Kreskowiak29-Feb-08 7:20 
GeneralRe: RichTextBox RightToLeft problem Pin
helelark12329-Feb-08 22:29
helelark12329-Feb-08 22: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.