Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMemory-leak problem Pin
qiyue21-Oct-05 0:56
qiyue21-Oct-05 0:56 
AnswerRe: Memory-leak problem Pin
Dave Kreskowiak21-Oct-05 1:30
mveDave Kreskowiak21-Oct-05 1:30 
Questioncopy vb.net(exe) application to spacIfic folder Pin
Amr M. K.20-Oct-05 23:05
Amr M. K.20-Oct-05 23:05 
AnswerRe: copy vb.net(exe) application to spacIfic folder Pin
Dave Kreskowiak21-Oct-05 1:46
mveDave Kreskowiak21-Oct-05 1:46 
General[Message Deleted] Pin
Amr M. K.21-Oct-05 3:01
Amr M. K.21-Oct-05 3:01 
GeneralRe: (how to get path of ur .EXE programme at run time Pin
Dave Kreskowiak21-Oct-05 5:18
mveDave Kreskowiak21-Oct-05 5:18 
GeneralRe: (how to get path of ur .EXE programme at run time Pin
Amr M. K.21-Oct-05 7:59
Amr M. K.21-Oct-05 7:59 
Questionclick and double click problem on datagrid winform Pin
andreapv20-Oct-05 22:18
andreapv20-Oct-05 22:18 
with a datagrid in a winform

single click on the datagrid:
my program must do one think(change the color of a single cell) - OK

double click on in the datagrid:
the program must show a panel the content if the datable "under" the datagrid - OK


the datagrid class has 2 method datagrid1.doubleclick end datagrid1.click


well when i click two times (doubleclick method) the program executes one time the dobleclikc and two times the single click

*************************************************************************************

Private Sub DataGrid1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.MouseHover


Dim xxx As System.Windows.Forms.MouseEventArgs

Dim sss As Integer

sss = xxx.Clicks


If sss > 0 Then


If xxx.Clicks = 1 Then
'here code the inside datagri1.click
End If

If xxx.Clicks >2 Then
'here code the inside datagri1.doubleclick
End If

End If

End Sub


i take this exception


"System.NullReferenceException" in forfat1.exe

my question is:

how can i intercept the the single and the double click if mouse is over datagrid (mousehover method) bypassing commands datagrid.click end doubleclick end even mousedown????


thanks a lot and forgive my bad english



ROBERTO BAGGIO RULES
QuestionUnable to Close Excell App Pin
Tiger45620-Oct-05 22:03
Tiger45620-Oct-05 22:03 
AnswerRe: Unable to Close Excell App Pin
S Douglas25-Oct-05 0:34
professionalS Douglas25-Oct-05 0:34 
QuestionEncryption Pin
Member 64225420-Oct-05 21:49
Member 64225420-Oct-05 21:49 
QuestionWeb Proxy Pin
Praveen Reddy Bobbili20-Oct-05 19:39
Praveen Reddy Bobbili20-Oct-05 19:39 
AnswerRe: Web Proxy Pin
Syed J Hashmi22-Jul-06 14:03
Syed J Hashmi22-Jul-06 14:03 
QuestionTree view Pin
lituparitosh20-Oct-05 18:55
lituparitosh20-Oct-05 18:55 
AnswerRe: Tree view Pin
DanChin23-Oct-05 3:29
DanChin23-Oct-05 3:29 
QuestionUrgent :Send Fax Automatically Without FAx Dialouge Box Pin
shashank veerkar20-Oct-05 18:13
shashank veerkar20-Oct-05 18:13 
QuestionDirectly print the form Pin
himanshu_softin20-Oct-05 16:04
himanshu_softin20-Oct-05 16:04 
QuestionVB.NET text to XML to Access Database Pin
vb_n00b20-Oct-05 15:17
sussvb_n00b20-Oct-05 15:17 
AnswerRe: VB.NET text to XML to Access Database Pin
Desert_Dude20-Oct-05 15:27
Desert_Dude20-Oct-05 15:27 
AnswerRe: VB.NET text to XML to Access Database Pin
Christian Graus20-Oct-05 15:49
protectorChristian Graus20-Oct-05 15:49 
GeneralRe: VB.NET text to XML to Access Database Pin
Desert_Dude20-Oct-05 16:14
Desert_Dude20-Oct-05 16:14 
GeneralRe: VB.NET text to XML to Access Database Pin
Desert_Dude24-Oct-05 7:19
Desert_Dude24-Oct-05 7:19 
AnswerRe: VB.NET text to XML to Access Database Pin
S Douglas25-Oct-05 0:28
professionalS Douglas25-Oct-05 0:28 
GeneralRe: VB.NET text to XML to Access Database Pin
Desert_Dude25-Oct-05 7:39
Desert_Dude25-Oct-05 7:39 
GeneralRe: VB.NET text to XML to Access Database Pin
S Douglas26-Oct-05 1:47
professionalS Douglas26-Oct-05 1:47 

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.