Click here to Skip to main content
15,891,136 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Sql File in DLL problem Pin
Rizwan Bashir7-May-06 21:34
Rizwan Bashir7-May-06 21:34 
GeneralRe: Sql File in DLL problem Pin
anom2m17-May-06 0:45
anom2m17-May-06 0:45 
GeneralRe: Sql File in DLL problem Pin
Rizwan Bashir17-May-06 5:32
Rizwan Bashir17-May-06 5:32 
QuestionA question about event handlers Pin
carloqueirolo6-May-06 21:18
carloqueirolo6-May-06 21:18 
AnswerRe: A question about event handlers Pin
Robert Rohde6-May-06 21:51
Robert Rohde6-May-06 21:51 
GeneralRe: A question about event handlers Pin
carloqueirolo6-May-06 22:04
carloqueirolo6-May-06 22:04 
GeneralRe: A question about event handlers Pin
Robert Rohde7-May-06 20:26
Robert Rohde7-May-06 20:26 
GeneralRe: A question about event handlers Pin
carloqueirolo7-May-06 21:15
carloqueirolo7-May-06 21:15 
Hello Robert
you are right. Mantaining an embedded list of eventhandlers calls is a good idea.

However, yesterday I implemented and tested this:
<br />
RemoveHandler MyControl1.Parent.Paint, AddressOf PaintParentHandler1<br />
AddHandler MyControl1.Parent.Paint, AddressOf PaintParentHandler1<br />
<br />
RemoveHandler MyControl2.Parent.Paint, AddressOf PaintParentHandler1<br />
AddHandler MyControl2.Parent.Paint, AddressOf PaintParentHandler1<br />
<br />
RemoveHandler MyControl3.Parent.Paint, AddressOf PaintParentHandler1<br />
AddHandler MyControl3.Parent.Paint, AddressOf PaintParentHandler1<br />


This allows to have just a single PaintParentHandler1 call whithout any useless stack... and seems to work!

Thank you for your help.

Carlo

-- modified at 3:15 Monday 8th May, 2006
QuestionDataGridView - SortCompare event not firing! Pin
nzmike6-May-06 18:08
nzmike6-May-06 18:08 
AnswerRe: DataGridView - SortCompare event not firing! Pin
nzmike6-May-06 20:04
nzmike6-May-06 20:04 
Questiontime stamp value Pin
_tasleem6-May-06 10:48
_tasleem6-May-06 10:48 
Questionpopulating the Combo box with database tables Pin
Hafiz_Akbar_Ali6-May-06 8:39
Hafiz_Akbar_Ali6-May-06 8:39 
Questionformat(now,"dd/mm/yyyy") not working in vb.net Pin
pptadam6-May-06 6:52
pptadam6-May-06 6:52 
AnswerRe: format(now,"dd/mm/yyyy") not working in vb.net Pin
Joshua Quick6-May-06 9:17
Joshua Quick6-May-06 9:17 
QuestionValidate data in a table Pin
phokojoe6-May-06 3:12
phokojoe6-May-06 3:12 
AnswerRe: Validate data in a table Pin
mr_123456-May-06 10:04
mr_123456-May-06 10:04 
GeneralRe: Validate data in a table Pin
phokojoe7-May-06 1:32
phokojoe7-May-06 1:32 
GeneralRe: Validate data in a table Pin
phokojoe9-May-06 22:47
phokojoe9-May-06 22:47 
QuestionReading from notepad File Pin
Mr kilany6-May-06 3:08
Mr kilany6-May-06 3:08 
AnswerRe: Reading from notepad File Pin
Colin Angus Mackay6-May-06 3:15
Colin Angus Mackay6-May-06 3:15 
AnswerRe: Reading from notepad File Pin
kkppttoo7-May-06 0:49
kkppttoo7-May-06 0:49 
Questiondouble rows Pin
microuser_20006-May-06 2:03
microuser_20006-May-06 2:03 
QuestionCopy Objects - Am I missing something? Pin
Kaditcher6-May-06 1:07
Kaditcher6-May-06 1:07 
AnswerRe: Copy Objects - Am I missing something? Pin
Joshua Quick6-May-06 9:39
Joshua Quick6-May-06 9:39 
GeneralRe: Copy Objects - Am I missing something? Pin
Kaditcher9-May-06 7:24
Kaditcher9-May-06 7:24 

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.