Click here to Skip to main content
15,907,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Resize Form! Pin
soodmonu28-Jun-06 18:13
soodmonu28-Jun-06 18:13 
GeneralRe: Resize Form! Pin
Dave Kreskowiak29-Jun-06 4:33
mveDave Kreskowiak29-Jun-06 4:33 
QuestionCan someone explain "ByVal sender as system.object Pin
cj433128-Jun-06 6:04
cj433128-Jun-06 6:04 
AnswerRe: Can someone explain "ByVal sender as system.object Pin
Dave Kreskowiak28-Jun-06 6:39
mveDave Kreskowiak28-Jun-06 6:39 
GeneralRe: Can someone explain "ByVal sender as system.object Pin
cj433128-Jun-06 7:53
cj433128-Jun-06 7:53 
GeneralRe: Can someone explain "ByVal sender as system.object Pin
Dave Kreskowiak28-Jun-06 8:44
mveDave Kreskowiak28-Jun-06 8:44 
GeneralRe: Can someone explain "ByVal sender as system.object Pin
cj433128-Jun-06 9:28
cj433128-Jun-06 9:28 
AnswerRe: Can someone explain "ByVal sender as system.object Pin
Guffa28-Jun-06 10:19
Guffa28-Jun-06 10:19 
The default way of sending parameters to a method is by value. For reference types this means that you send the reference by value.

Sending parameters by reference is only used when you want to change the variable used in the method call. For reference types this means that you want to change the reference variable, not just change members of the object.

You want to be able to access the members of the control that caused the event, but you certainly don't want to change the forms reference to the control. That would break the form.


---
b { font-weight: normal; }

GeneralRe: Can someone explain "ByVal sender as system.object Pin
cj433128-Jun-06 10:25
cj433128-Jun-06 10:25 
AnswerRe: Can someone explain "ByVal sender as system.object Pin
Guffa28-Jun-06 10:39
Guffa28-Jun-06 10:39 
GeneralRe: Can someone explain "ByVal sender as system.object Pin
Dave Kreskowiak28-Jun-06 10:43
mveDave Kreskowiak28-Jun-06 10:43 
GeneralRe: Can someone explain "ByVal sender as system.object Pin
Guffa28-Jun-06 11:53
Guffa28-Jun-06 11:53 
GeneralRe: Can someone explain "ByVal sender as system.object Pin
Dave Kreskowiak28-Jun-06 15:42
mveDave Kreskowiak28-Jun-06 15:42 
QuestionCreating a dinamic Menu Pin
fredy66628-Jun-06 5:16
fredy66628-Jun-06 5:16 
AnswerRe: Creating a dinamic Menu Pin
fredy6663-Jul-06 0:24
fredy6663-Jul-06 0:24 
QuestionRuntime TextBoxes Pin
mtone28-Jun-06 4:49
mtone28-Jun-06 4:49 
QuestionVS 2005 and ReportServer Pin
VK-Cadec28-Jun-06 4:47
VK-Cadec28-Jun-06 4:47 
QuestionDate Question Pin
No-e28-Jun-06 4:21
No-e28-Jun-06 4:21 
AnswerRe: Date Question Pin
Robert Rohde28-Jun-06 5:38
Robert Rohde28-Jun-06 5:38 
GeneralRe: Date Question Pin
No-e28-Jun-06 7:19
No-e28-Jun-06 7:19 
QuestionCrystal Report [modified] Pin
militiaware28-Jun-06 2:10
militiaware28-Jun-06 2:10 
AnswerRe: Crystal Report [modified] Pin
Jats_4ru28-Jun-06 3:35
Jats_4ru28-Jun-06 3:35 
GeneralRe: Crystal Report Pin
militiaware28-Jun-06 3:50
militiaware28-Jun-06 3:50 
Questionhow to control another application Pin
Mr kilany28-Jun-06 1:19
Mr kilany28-Jun-06 1:19 
AnswerRe: how to control another application Pin
Jun Du28-Jun-06 5:55
Jun Du28-Jun-06 5:55 

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.