Click here to Skip to main content
15,796,179 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 7:55
mveDave Kreskowiak15-May-07 7:55 
AnswerRe: Select all of the text in a textbox [modified] Pin
Xandip15-May-07 20:16
Xandip15-May-07 20:16 
QuestionDelegates are type-safe Function Pointers Pin
Sonia Gupta15-May-07 3:34
Sonia Gupta15-May-07 3:34 
AnswerRe: Delegates are type-safe Function Pointers Pin
Colin Angus Mackay15-May-07 3:37
Colin Angus Mackay15-May-07 3:37 
Questiondelegates Pin
Sonia Gupta15-May-07 3:28
Sonia Gupta15-May-07 3:28 
AnswerRe: delegates Pin
Colin Angus Mackay15-May-07 3:35
Colin Angus Mackay15-May-07 3:35 
QuestionRe: delegates Pin
Sonia Gupta15-May-07 3:48
Sonia Gupta15-May-07 3:48 
AnswerRe: delegates Pin
Guffa15-May-07 4:50
Guffa15-May-07 4:50 
Nilish wrote:
so three steps
on the other hand just one line of code
call functionname()


The point of a delegate is that you do separate the process in several steps.

Consider this scenario:

Person A has written a class that person B will use.

Person A has declared a delegate in the code.

Person B provides the reference for the delegate.

Person A has written code that uses the delegate, without needing to know at the time what it will be referencing.

---
single minded; short sighted; long gone;

AnswerRe: delegates Pin
Colin Angus Mackay15-May-07 4:51
Colin Angus Mackay15-May-07 4:51 
QuestionRaising and handling events in 2 independant forms. Pin
steve_rm15-May-07 2:51
steve_rm15-May-07 2:51 
AnswerRe: Raising and handling events in 2 independant forms. Pin
Probeer Das15-May-07 4:32
Probeer Das15-May-07 4:32 
AnswerRe: Raising and handling events in 2 independant forms. Pin
Dave Kreskowiak15-May-07 5:06
mveDave Kreskowiak15-May-07 5:06 
Questionhow to resolve it Pin
d_smit15-May-07 2:18
d_smit15-May-07 2:18 
QuestionRe: how to resolve it [modified] Pin
Sonia Gupta15-May-07 2:23
Sonia Gupta15-May-07 2:23 
QuestionRun in Services Pin
Socheat.Net15-May-07 2:14
Socheat.Net15-May-07 2:14 
AnswerRe: Run in Services Pin
harsh_c15-May-07 2:27
professionalharsh_c15-May-07 2:27 
GeneralRe: Run in Services Pin
Socheat.Net15-May-07 16:43
Socheat.Net15-May-07 16:43 
AnswerRe: Run in Services Pin
Dave Kreskowiak15-May-07 5:03
mveDave Kreskowiak15-May-07 5:03 
QuestionText Box with Rounded corners Pin
todd.0101110115-May-07 2:11
todd.0101110115-May-07 2:11 
AnswerRe: Text Box with Rounded corners Pin
Probeer Das15-May-07 4:37
Probeer Das15-May-07 4:37 
GeneralRe: Text Box with Rounded corners Pin
todd.0101110115-May-07 6:14
todd.0101110115-May-07 6:14 
Questionhow to validate right click in excel worksheet using VBA Pin
prashant pissey15-May-07 2:08
prashant pissey15-May-07 2:08 
Questionevent , raise event , delegates Pin
Sonia Gupta15-May-07 2:01
Sonia Gupta15-May-07 2:01 
AnswerRe: event , raise event , delegates Pin
CPallini18-May-07 0:45
mveCPallini18-May-07 0:45 
Questionprogress bar Pin
Sonia Gupta15-May-07 1:55
Sonia Gupta15-May-07 1: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.