Click here to Skip to main content
16,005,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Getting a file's location Pin
jo0ls4-Nov-05 2:11
jo0ls4-Nov-05 2:11 
GeneralRe: Getting a file's location Pin
Anita Fourie4-Nov-05 2:19
Anita Fourie4-Nov-05 2:19 
GeneralRe: Getting a file's location Pin
Dave Kreskowiak4-Nov-05 11:49
mveDave Kreskowiak4-Nov-05 11:49 
AnswerRe: Getting a file's location Pin
JeSoPh4-Nov-05 3:39
JeSoPh4-Nov-05 3:39 
GeneralRe: Getting a file's location Pin
KaptinKrunch4-Nov-05 10:49
KaptinKrunch4-Nov-05 10:49 
AnswerRe: Getting a file's location Pin
KaptinKrunch4-Nov-05 8:57
KaptinKrunch4-Nov-05 8:57 
QuestionObjects Handles Query Pin
directred4-Nov-05 1:27
directred4-Nov-05 1:27 
AnswerRe: Objects Handles Query Pin
jo0ls4-Nov-05 2:16
jo0ls4-Nov-05 2:16 
In the function definition, sender is passed as a parameter. Sender is actually the control that is clicked. It is of type control, not button though. So you can test sender:

If sender.name = "button1" then
' do stuff
ElseIf sender.name = "button2" then
' b2 stuff
End if


If you added the controls at runtime then you won't might not have set the name property, in that csae the quick way is to set the tag property to something as you create the controls and then test sender.tag.



QuestionHow do I control command-line apps? Pin
vykintasv4-Nov-05 0:21
vykintasv4-Nov-05 0:21 
AnswerRe: How do I control command-line apps? Pin
S. Senthil Kumar4-Nov-05 1:01
S. Senthil Kumar4-Nov-05 1:01 
GeneralRe: How do I control command-line apps? Pin
vykintasv4-Nov-05 7:43
vykintasv4-Nov-05 7:43 
QuestionHow to make my mail server go global Pin
saood swar3-Nov-05 19:21
saood swar3-Nov-05 19:21 
QuestionHow to update Access DB from Data Grid in VB.net Pin
varient3-Nov-05 18:58
varient3-Nov-05 18:58 
AnswerRe: How to update Access DB from Data Grid in VB.net Pin
Christian Graus3-Nov-05 19:12
protectorChristian Graus3-Nov-05 19:12 
Question[Message Deleted] Pin
xfitr23-Nov-05 13:28
xfitr23-Nov-05 13:28 
AnswerRe: VB6 Custom Control Problem Pin
Christian Graus3-Nov-05 13:47
protectorChristian Graus3-Nov-05 13:47 
GeneralRe: VB6 Custom Control Problem Pin
DA_Loring10-Nov-05 0:13
DA_Loring10-Nov-05 0:13 
General[Message Deleted] Pin
xfitr210-Nov-05 8:56
xfitr210-Nov-05 8:56 
GeneralRe: VB6 Custom Control Problem Pin
DA_Loring10-Nov-05 21:09
DA_Loring10-Nov-05 21:09 
Questionhow to Pin
drcabr3-Nov-05 12:45
drcabr3-Nov-05 12:45 
AnswerRe: how to Pin
Christian Graus3-Nov-05 13:36
protectorChristian Graus3-Nov-05 13:36 
QuestionRETRIEVING REGISTRY VALUES w/ Spaces Pin
kjmorford3-Nov-05 9:15
kjmorford3-Nov-05 9:15 
AnswerRe: RETRIEVING REGISTRY VALUES w/ Spaces Pin
Dave Kreskowiak3-Nov-05 9:59
mveDave Kreskowiak3-Nov-05 9:59 
GeneralRe: RETRIEVING REGISTRY VALUES w/ Spaces Pin
kjmorford3-Nov-05 10:41
kjmorford3-Nov-05 10:41 
GeneralRe: RETRIEVING REGISTRY VALUES w/ Spaces Pin
kjmorford3-Nov-05 11:50
kjmorford3-Nov-05 11:50 

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.