Click here to Skip to main content
15,899,679 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DataSet into DataGridView [modified] Pin
spences107-Jan-10 4:47
spences107-Jan-10 4:47 
QuestionHow to check if a ListView control has been clicked? Pin
Paul Hasler6-Jan-10 19:05
Paul Hasler6-Jan-10 19:05 
AnswerRe: How to check if a ListView control has been clicked? Pin
Dave Kreskowiak7-Jan-10 0:33
mveDave Kreskowiak7-Jan-10 0:33 
GeneralRe: How to check if a ListView control has been clicked? Pin
Paul Hasler7-Jan-10 3:33
Paul Hasler7-Jan-10 3:33 
GeneralRe: How to check if a ListView control has been clicked? Pin
Dave Kreskowiak7-Jan-10 3:41
mveDave Kreskowiak7-Jan-10 3:41 
AnswerRe: How to check if a ListView control has been clicked? Pin
Luc Pattyn7-Jan-10 3:55
sitebuilderLuc Pattyn7-Jan-10 3:55 
GeneralRe: How to check if a ListView control has been clicked? Pin
Dave Kreskowiak7-Jan-10 4:37
mveDave Kreskowiak7-Jan-10 4:37 
AnswerRe: How to check if a ListView control has been clicked? Pin
DaveAuld7-Jan-10 6:10
professionalDaveAuld7-Jan-10 6:10 
You can also simplify your code by rolling up all the handlers onto 1 sub

e.g.
Private Sub ControlsClicked() handles control1.click, control2.click, control3.click 
     UserHasClickedForm()
End Sub


Even if your controls do something in their own click events, both will fire.

You could even remove the additional sub and attach the handlers directly onto UserHasClickedForm()

Dave
Who am I?:
Web|Facebook|Twitter|LinkedIn|Bebo

AnswerRe: How to check if a ListView control has been clicked? Pin
Paul Hasler7-Jan-10 15:55
Paul Hasler7-Jan-10 15:55 
QuestionHow to convert open office document to pdf ?? Pin
JC.KaNNaN6-Jan-10 19:03
JC.KaNNaN6-Jan-10 19:03 
AnswerRe: How to convert open office document to pdf ?? [modified] Pin
JC.KaNNaN7-Jan-10 2:12
JC.KaNNaN7-Jan-10 2:12 
QuestionHide a complete row... Pin
MacIntyre6-Jan-10 18:04
MacIntyre6-Jan-10 18:04 
AnswerRe: Hide a complete row... Pin
Dave Kreskowiak7-Jan-10 0:30
mveDave Kreskowiak7-Jan-10 0:30 
QuestionHow to monitor drive activity in vb 2008 Pin
RevEd6-Jan-10 14:21
RevEd6-Jan-10 14:21 
AnswerRe: How to monitor drive activity in vb 2008 Pin
Dave Kreskowiak6-Jan-10 14:49
mveDave Kreskowiak6-Jan-10 14:49 
AnswerRe: How to monitor drive activity in vb 2008 Pin
Andy_L_J6-Jan-10 15:06
Andy_L_J6-Jan-10 15:06 
AnswerRe: How to monitor drive activity in vb 2008 Pin
Dimitri Witkowski6-Jan-10 22:26
Dimitri Witkowski6-Jan-10 22:26 
AnswerRe: How to monitor drive activity in vb 2008 Pin
RevEd7-Jan-10 15:53
RevEd7-Jan-10 15:53 
QuestionOffice version Problem in Outlook Add-in Pin
dcdhingra6-Jan-10 5:02
dcdhingra6-Jan-10 5:02 
QuestionDate manipulation and SQL.... Pin
Johnkokk5-Jan-10 23:15
Johnkokk5-Jan-10 23:15 
AnswerRe: Date manipulation and SQL.... Pin
Luc Pattyn6-Jan-10 2:14
sitebuilderLuc Pattyn6-Jan-10 2:14 
AnswerRe: Date manipulation and SQL.... Pin
loyal ginger6-Jan-10 4:34
loyal ginger6-Jan-10 4:34 
GeneralRe: Date manipulation and SQL.... Pin
Johnkokk6-Jan-10 20:54
Johnkokk6-Jan-10 20:54 
QuestionHow to open existing file in VB6 Pin
JC.KaNNaN5-Jan-10 22:59
JC.KaNNaN5-Jan-10 22:59 
AnswerRe: How to open existing file in VB6 Pin
Eddy Vluggen6-Jan-10 1:30
professionalEddy Vluggen6-Jan-10 1:30 

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.