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

Visual Basic

 
GeneralRe: PropertyGrid - Internet Explorer hosting problem Pin
Member 88279717-Mar-05 20:21
Member 88279717-Mar-05 20:21 
GeneralCrossWord puzzle alogrithm Pin
Mohsen Saad15-Mar-05 18:06
Mohsen Saad15-Mar-05 18:06 
GeneralRe: CrossWord puzzle alogrithm Pin
Colin Angus Mackay16-Mar-05 0:14
Colin Angus Mackay16-Mar-05 0:14 
GeneralCrystal Report:The LoadSaveReportException: Load Report Error Pin
Bing Chen15-Mar-05 10:41
Bing Chen15-Mar-05 10:41 
QuestionHow to send info out the lpt port????? Pin
mjvone15-Mar-05 10:09
mjvone15-Mar-05 10:09 
AnswerRe: How to send info out the lpt port????? Pin
Christian Graus15-Mar-05 10:47
protectorChristian Graus15-Mar-05 10:47 
QuestionHow can I make Control Array in VB.net Pin
Suman Singh15-Mar-05 10:07
professionalSuman Singh15-Mar-05 10:07 
AnswerRe: How can I make Control Array in VB.net Pin
Ray Cassick15-Mar-05 10:50
Ray Cassick15-Mar-05 10:50 
You don't. Control arrays are a thing of the past.

You can mimic them by using the Handles caluse of the event signature though. Thsi allows multiple controls to send thier events all to a common event handler.

Private Sub Button1_Click(ByVal sender As System.Object,_
                          ByVal e As System.EventArgs)_
                          Handles Button1.Click, Button2.Click, Button3.Click

   Select Case DirectCast(sender, Button).Name
      Case "Button1"
         MessageBox.Show("Button1!")

      Case "Button2"
         MessageBox.Show("Button2!")

      Case "Button3"
         MessageBox.Show("Button3!")

      Case Else

   End Select

End Sub





George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.

My Blog[^]


AnswerRe: How can I make Control Array in VB.net Pin
pfsoft16-Mar-05 20:17
pfsoft16-Mar-05 20:17 
Generalcolor in a combobox items Pin
wgalafassijr15-Mar-05 9:28
wgalafassijr15-Mar-05 9:28 
GeneralRe: color in a combobox items Pin
Tom John15-Mar-05 9:41
Tom John15-Mar-05 9:41 
GeneralRe: color in a combobox items Pin
wgalafassijr15-Mar-05 9:53
wgalafassijr15-Mar-05 9:53 
QuestionHow to change Column name in Datagrid Pin
Suman Singh15-Mar-05 9:06
professionalSuman Singh15-Mar-05 9:06 
AnswerRe: How to change Column name in Datagrid Pin
eshban28416-Mar-05 3:01
eshban28416-Mar-05 3:01 
Questionhow to set date mask Pin
eshban28415-Mar-05 8:28
eshban28415-Mar-05 8:28 
AnswerRe: how to set date mask Pin
Dave Kreskowiak15-Mar-05 9:16
mveDave Kreskowiak15-Mar-05 9:16 
AnswerRe: how to set date mask Pin
numbrel16-Mar-05 12:57
numbrel16-Mar-05 12:57 
QuestionHow to show data in datagrid Pin
eshban28415-Mar-05 8:24
eshban28415-Mar-05 8:24 
AnswerRe: How to show data in datagrid Pin
Suman Singh15-Mar-05 9:08
professionalSuman Singh15-Mar-05 9:08 
AnswerRe: How to show data in datagrid Pin
Dave Kreskowiak15-Mar-05 9:13
mveDave Kreskowiak15-Mar-05 9:13 
GeneralCalling a button click Pin
Suman Singh15-Mar-05 7:55
professionalSuman Singh15-Mar-05 7:55 
GeneralRe: Calling a button click Pin
Jim Matthews15-Mar-05 8:32
Jim Matthews15-Mar-05 8:32 
GeneralRe: Calling a button click Pin
Suman Singh15-Mar-05 8:54
professionalSuman Singh15-Mar-05 8:54 
GeneralRe: Calling a button click Pin
Jim Matthews15-Mar-05 9:25
Jim Matthews15-Mar-05 9:25 
GeneralRe: Calling a button click Pin
Suman Singh15-Mar-05 10:17
professionalSuman Singh15-Mar-05 10:17 

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.