Click here to Skip to main content
15,902,189 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Grouping dates by week...Is it possible? Pin
Mikjall11-May-08 15:12
Mikjall11-May-08 15:12 
GeneralRe: Grouping dates by week...Is it possible? Pin
Christian Graus11-May-08 15:46
protectorChristian Graus11-May-08 15:46 
GeneralRe: Grouping dates by week...Is it possible? Pin
Mycroft Holmes11-May-08 15:58
professionalMycroft Holmes11-May-08 15:58 
GeneralRe: Grouping dates by week...Is it possible? Pin
Christian Graus11-May-08 16:09
protectorChristian Graus11-May-08 16:09 
AnswerRe: Grouping dates by week...Is it possible? Pin
Ashfield11-May-08 21:09
Ashfield11-May-08 21:09 
Questionfont problems with vb6 Pin
Haim Nachum11-May-08 9:39
Haim Nachum11-May-08 9:39 
Questiondirect cast event handleing Pin
jacko87311-May-08 9:21
jacko87311-May-08 9:21 
AnswerRe: direct cast event handleing Pin
Christian Graus11-May-08 12:53
protectorChristian Graus11-May-08 12:53 
If all your buttons fire the same event, you can cast the object passed into the click event ( typically called 'sender' ) to a button, and then you can examine it's name or tag to work out what button was clicked and change the behaviour accordingly. I'd typically use the same event handler if all the buttons did roughly the same thing, for example, if three buttons all added a different value to something, I'd store the value in the tag property.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

QuestionWindows Control Library Pin
asha_s11-May-08 4:36
asha_s11-May-08 4:36 
AnswerRe: Windows Control Library Pin
Dave Kreskowiak11-May-08 8:25
mveDave Kreskowiak11-May-08 8:25 
QuestionVB.NET Pin
Socheat.Net10-May-08 21:38
Socheat.Net10-May-08 21:38 
AnswerRe: VB.NET Pin
Mycroft Holmes10-May-08 23:58
professionalMycroft Holmes10-May-08 23:58 
QuestionData type structuring Pin
Chris Copeland10-May-08 5:10
mveChris Copeland10-May-08 5:10 
AnswerRe: Data type structuring Pin
Dave Kreskowiak10-May-08 6:15
mveDave Kreskowiak10-May-08 6:15 
AnswerRe: Data type structuring Pin
CodingYoshi10-May-08 9:52
CodingYoshi10-May-08 9:52 
QuestionHow can I read an input from a gamepad in vb.net? Pin
JUNEYT10-May-08 4:01
JUNEYT10-May-08 4:01 
AnswerRe: How can I read an input from a gamepad in vb.net? Pin
Dave Kreskowiak10-May-08 6:07
mveDave Kreskowiak10-May-08 6:07 
AnswerRe: How can I read an input from a gamepad in vb.net? Pin
Steve Westbrook11-May-08 15:51
Steve Westbrook11-May-08 15:51 
Questiondatagread Pin
asha_s10-May-08 2:08
asha_s10-May-08 2:08 
AnswerRe: datagread Pin
Dave Kreskowiak10-May-08 6:05
mveDave Kreskowiak10-May-08 6:05 
QuestionMid character Pin
Jamal Abdul Nasir10-May-08 0:18
Jamal Abdul Nasir10-May-08 0:18 
AnswerRe: Mid character Pin
Rupesh Kumar Swami10-May-08 1:28
Rupesh Kumar Swami10-May-08 1:28 
AnswerRe: Mid character Pin
Rajesh Anuhya10-May-08 2:51
professionalRajesh Anuhya10-May-08 2:51 
GeneralRe: Mid character Pin
Jamal Abdul Nasir10-May-08 3:38
Jamal Abdul Nasir10-May-08 3:38 
GeneralRe: Mid character Pin
Rupesh Kumar Swami10-May-08 5:57
Rupesh Kumar Swami10-May-08 5:57 

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.