Click here to Skip to main content
15,913,287 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionalphabetical button search Pin
acevedo6-Dec-08 3:03
acevedo6-Dec-08 3:03 
AnswerRe: alphabetical button search Pin
Wendelius6-Dec-08 3:45
mentorWendelius6-Dec-08 3:45 
Questionok how do i add images to a listview from a text file ? Pin
ls780h6-Dec-08 2:51
ls780h6-Dec-08 2:51 
AnswerRe: ok how do i add images to a listview from a text file ? Pin
Wendelius6-Dec-08 3:40
mentorWendelius6-Dec-08 3:40 
QuestionHi help need in .OCX Pin
Senthil S5-Dec-08 22:24
Senthil S5-Dec-08 22:24 
AnswerRe: Hi help need in .OCX Pin
Christian Graus5-Dec-08 22:37
protectorChristian Graus5-Dec-08 22:37 
QuestionBluetooth... Pin
Agus Budianto5-Dec-08 4:43
Agus Budianto5-Dec-08 4:43 
QuestionHow can I add DoubleClick event for a button Pin
Abraham15-Dec-08 4:02
Abraham15-Dec-08 4:02 
Confused | :confused: I want to add a button in a form and add Click and DoubleClick events for the button,but the code below doesn't work,why?How should I do?
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim btn As New Button
Me.Controls.Add(btn)
btn.Text = "hello"
AddHandler btn.Click, AddressOf btn_Click
AddHandler btn.DoubleClick, AddressOf btn_doubleclick

End Sub
Private Sub btn_doubleclick(ByVal sender As Object, ByVal e As System.EventArgs)
MsgBox("Double click")
End Sub
Private Sub btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyButton1.Click
MsgBox("Click")
End Sub

GeneralRe: How can I add DoubleClick event for a button Pin
Luc Pattyn5-Dec-08 4:17
sitebuilderLuc Pattyn5-Dec-08 4:17 
AnswerRe: How can I add DoubleClick event for a button Pin
Dave Kreskowiak5-Dec-08 4:38
mveDave Kreskowiak5-Dec-08 4:38 
GeneralRe: How can I add DoubleClick event for a button Pin
Luc Pattyn5-Dec-08 5:16
sitebuilderLuc Pattyn5-Dec-08 5:16 
GeneralRe: How can I add DoubleClick event for a button Pin
Jon_Boy5-Dec-08 9:22
Jon_Boy5-Dec-08 9:22 
GeneralRe: How can I add DoubleClick event for a button Pin
Luc Pattyn5-Dec-08 9:34
sitebuilderLuc Pattyn5-Dec-08 9:34 
GeneralRe: How can I add DoubleClick event for a button Pin
Dave Kreskowiak5-Dec-08 11:44
mveDave Kreskowiak5-Dec-08 11:44 
GeneralRe: How can I add DoubleClick event for a button Pin
Abraham15-Dec-08 16:31
Abraham15-Dec-08 16:31 
QuestionCalling a known method in a form object [modified] Pin
MatthysDT5-Dec-08 0:53
MatthysDT5-Dec-08 0:53 
AnswerRe: Calling a known method in a form object Pin
Tom Deketelaere5-Dec-08 1:13
professionalTom Deketelaere5-Dec-08 1:13 
GeneralRe: Calling a known method in a form object Pin
MatthysDT5-Dec-08 1:41
MatthysDT5-Dec-08 1:41 
GeneralRe: Calling a known method in a form object Pin
Tom Deketelaere5-Dec-08 2:02
professionalTom Deketelaere5-Dec-08 2:02 
GeneralRe: Calling a known method in a form object Pin
MatthysDT5-Dec-08 2:17
MatthysDT5-Dec-08 2:17 
GeneralRe: Calling a known method in a form object Pin
Tom Deketelaere5-Dec-08 2:21
professionalTom Deketelaere5-Dec-08 2:21 
GeneralRe: Calling a known method in a form object [modified] Pin
Luc Pattyn5-Dec-08 1:49
sitebuilderLuc Pattyn5-Dec-08 1:49 
GeneralRe: Calling a known method in a form object Pin
Dave Kreskowiak5-Dec-08 4:40
mveDave Kreskowiak5-Dec-08 4:40 
GeneralRe: Calling a known method in a form object Pin
Luc Pattyn5-Dec-08 5:08
sitebuilderLuc Pattyn5-Dec-08 5:08 
GeneralRe: Calling a known method in a form object Pin
Dave Kreskowiak5-Dec-08 7:58
mveDave Kreskowiak5-Dec-08 7:58 

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.