Click here to Skip to main content
15,905,912 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Not Understanding Delegates (User Error) Pin
Eddy Vluggen21-Aug-12 2:56
professionalEddy Vluggen21-Aug-12 2:56 
Clark Kent123 wrote:
I appreciate that answer.

..which motivates to answer questions. Thanks for the feedback Smile | :)

Clark Kent123 wrote:
I do agree that by now I should be able to answer whether threading or Delegates is the way to go.

That depends on how good my explanation was; if it isn't clear, then my explanation wasn't what it should have been. I agree that I kinda buried you under a lot of information.
Threads are for long-running, CPU intensive tasks. Delegates are variables for methods. 

Depending on what you are doing to Form2 (from the point of view from Form1), you might need an event, not just a delegate. Let's try it another way;

  • Are you trying to "inform" another class that something changed? (event)
  • Are you trying to "execute" another method from another class? (delegate)
  • Are you trying to "run" something that seems to hang your app? (threads)

Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: Not Understanding Delegates (User Error) Pin
Clark Kent12321-Aug-12 4:28
professionalClark Kent12321-Aug-12 4:28 
GeneralRe: Not Understanding Delegates (User Error) Pin
Eddy Vluggen21-Aug-12 4:50
professionalEddy Vluggen21-Aug-12 4:50 
QuestionMultiple checkbox in Excel file Pin
oanaa1119-Aug-12 21:20
oanaa1119-Aug-12 21:20 
AnswerRe: Multiple checkbox in Excel file Pin
Sonhospa19-Aug-12 23:37
Sonhospa19-Aug-12 23:37 
AnswerRe: Multiple checkbox in Excel file Pin
Clark Kent12320-Aug-12 3:26
professionalClark Kent12320-Aug-12 3:26 
AnswerStore Keywords in Excel doc Pin
David Mujica20-Aug-12 4:02
David Mujica20-Aug-12 4:02 
AnswerCode snipet Pin
David Mujica20-Aug-12 4:30
David Mujica20-Aug-12 4:30 
GeneralRe: Code snipet Pin
oanaa1120-Aug-12 20:10
oanaa1120-Aug-12 20:10 
QuestionHow to code the next button Pin
garyu8717-Aug-12 22:09
garyu8717-Aug-12 22:09 
AnswerRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 2:05
professionalEddy Vluggen18-Aug-12 2:05 
GeneralRe: How to code the next button Pin
garyu8718-Aug-12 2:38
garyu8718-Aug-12 2:38 
GeneralRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 5:49
professionalEddy Vluggen18-Aug-12 5:49 
GeneralRe: How to code the next button Pin
garyu8718-Aug-12 20:01
garyu8718-Aug-12 20:01 
GeneralRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 23:21
professionalEddy Vluggen18-Aug-12 23:21 
Questionvb interface wih HP impedance tester Pin
seow22716-Aug-12 21:55
seow22716-Aug-12 21:55 
AnswerRe: vb interface wih HP impedance tester Pin
Eddy Vluggen17-Aug-12 3:27
professionalEddy Vluggen17-Aug-12 3:27 
AnswerRe: vb interface wih HP impedance tester Pin
Dave Kreskowiak17-Aug-12 3:29
mveDave Kreskowiak17-Aug-12 3:29 
QuestionPrintPreviewControl causes exception Pin
kmoorevs16-Aug-12 3:06
kmoorevs16-Aug-12 3:06 
AnswerRe: PrintPreviewControl causes exception Pin
Kenneth Haugland18-Aug-12 13:00
mvaKenneth Haugland18-Aug-12 13:00 
QuestionManually registering .tlb files Pin
Karthik Chintala16-Aug-12 1:21
Karthik Chintala16-Aug-12 1:21 
AnswerRe: Manually registering .tlb files Pin
Shameel16-Aug-12 1:56
professionalShameel16-Aug-12 1:56 
GeneralRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:00
Karthik Chintala16-Aug-12 2:00 
QuestionRe: Manually registering .tlb files Pin
Shameel16-Aug-12 2:01
professionalShameel16-Aug-12 2:01 
AnswerRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:08
Karthik Chintala16-Aug-12 2:08 

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.