Click here to Skip to main content
15,909,829 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB6 vs VS2005 Pin
Dave Kreskowiak27-May-11 3:42
mveDave Kreskowiak27-May-11 3:42 
AnswerRe: VB6 vs VS2005 Pin
thatraja26-Jan-12 20:57
professionalthatraja26-Jan-12 20:57 
QuestionHow can I add code to a timer object. Pin
Central_IT26-May-11 23:50
Central_IT26-May-11 23:50 
AnswerRe: How can I add code to a timer object. Pin
Richard MacCutchan27-May-11 1:19
mveRichard MacCutchan27-May-11 1:19 
AnswerRe: How can I add code to a timer object. Pin
Luc Pattyn27-May-11 1:22
sitebuilderLuc Pattyn27-May-11 1:22 
AnswerRe: How can I add code to a timer object. Pin
Dave Kreskowiak27-May-11 3:37
mveDave Kreskowiak27-May-11 3:37 
AnswerRe: How can I add code to a timer object. Pin
vivek_bhaskar5-Jun-11 18:23
vivek_bhaskar5-Jun-11 18:23 
GeneralRe: How can I add code to a timer object. Pin
Dave Kreskowiak6-Jun-11 1:56
mveDave Kreskowiak6-Jun-11 1:56 
That's the very wrong way to do it. It's lazy and leads to other possible issues that can't be traced down easily.

If there is code that needs to be executed from multiple places you stick it in its own method with a name that has meaning as to what the code does. You don't "hide" it inside an event handler.

GeneralRe: How can I add code to a timer object. Pin
vivek_bhaskar6-Jun-11 19:54
vivek_bhaskar6-Jun-11 19:54 
GeneralRe: How can I add code to a timer object. Pin
Dave Kreskowiak7-Jun-11 1:12
mveDave Kreskowiak7-Jun-11 1:12 
QuestionHow to Reslove Error? Pin
dongodu25-May-11 3:13
dongodu25-May-11 3:13 
AnswerRe: How to Resolve Error? Pin
Luc Pattyn25-May-11 3:14
sitebuilderLuc Pattyn25-May-11 3:14 
AnswerRe: How to Reslove Error? Pin
_Erik_25-May-11 3:45
_Erik_25-May-11 3:45 
AnswerRe: How to Reslove Error? Pin
Eddy Vluggen25-May-11 4:31
professionalEddy Vluggen25-May-11 4:31 
QuestionRe: How to Resolve Error? Pin
Luc Pattyn25-May-11 5:38
sitebuilderLuc Pattyn25-May-11 5:38 
GeneralRe: How to Reslove Error? Pin
Dave Kreskowiak25-May-11 6:13
mveDave Kreskowiak25-May-11 6:13 
GeneralRe: How to Reslove Error? Pin
Eddy Vluggen25-May-11 11:41
professionalEddy Vluggen25-May-11 11:41 
QuestionProblem deleting a file (being used by another process) Pin
Central_IT25-May-11 1:55
Central_IT25-May-11 1:55 
AnswerRe: Problem deleting a file (being used by another process) Pin
Dave Kreskowiak25-May-11 3:02
mveDave Kreskowiak25-May-11 3:02 
AnswerRe: Problem deleting a file (being used by another process) Pin
Luc Pattyn25-May-11 3:13
sitebuilderLuc Pattyn25-May-11 3:13 
GeneralRe: Problem deleting a file (being used by another process) Pin
Nagy Vilmos26-May-11 0:15
professionalNagy Vilmos26-May-11 0:15 
AnswerRe: Problem deleting a file (being used by another process) Pin
Luc Pattyn26-May-11 0:22
sitebuilderLuc Pattyn26-May-11 0:22 
QuestionVB.NET Progress status while run a EXE file Pin
Andraw Tang24-May-11 4:26
Andraw Tang24-May-11 4:26 
AnswerRe: VB.NET Progress status while run a EXE file Pin
Dave Kreskowiak24-May-11 4:31
mveDave Kreskowiak24-May-11 4:31 
AnswerRe: VB.NET Progress status while run a EXE file Pin
Luc Pattyn24-May-11 4:37
sitebuilderLuc Pattyn24-May-11 4:37 

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.