Click here to Skip to main content
15,900,455 members
Home / Discussions / C#
   

C#

 
AnswerRe: Best way to debug a Windows Service Pin
PIEBALDconsult15-May-08 5:43
mvePIEBALDconsult15-May-08 5:43 
QuestionDataTable / DataRow / someDataTable.Select() Issue Pin
Harvey Saayman15-May-08 2:43
Harvey Saayman15-May-08 2:43 
AnswerRe: DataTable / DataRow / someDataTable.Select() Issue Pin
Sandeep Kumar15-May-08 3:39
Sandeep Kumar15-May-08 3:39 
GeneralRe: DataTable / DataRow / someDataTable.Select() Issue Pin
Harvey Saayman15-May-08 3:42
Harvey Saayman15-May-08 3:42 
AnswerRe: DataTable / DataRow / someDataTable.Select() Issue Pin
sarvesh.upadhyay15-May-08 5:16
professionalsarvesh.upadhyay15-May-08 5:16 
GeneralRe: DataTable / DataRow / someDataTable.Select() Issue Pin
Harvey Saayman15-May-08 20:00
Harvey Saayman15-May-08 20:00 
QuestionDoEvents() Pin
ellllllllie15-May-08 2:23
ellllllllie15-May-08 2:23 
AnswerRe: DoEvents() Pin
Guffa15-May-08 7:13
Guffa15-May-08 7:13 
It works well if your application only does one thing, but for more complex situations you may need the application to handle more than one operation at a time.

If you for example have two buttons in your application, and each button starts some kind of job and waits for the result, it doesn't work properly if you use a loop to wait for each job to finish with a DoEvents in the loop.

You can start both jobs, but when you start the second job, the waiting loop for the first job is paused, as the waiting loop for the second job is running in an event handler started by the DoEvents call inside the first loop. Therefore you will not see the result of the first job before the second job finishes.

A situation like that is typically handled using a timer instead.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionAfterBuild.Bat & PostBuildEvent.bat Pin
Hum Dum15-May-08 2:18
Hum Dum15-May-08 2:18 
QuestionChild processes that is started by a logon process ends when the parent process ends in Windows 2000 Pin
pranu_1315-May-08 1:52
pranu_1315-May-08 1:52 
AnswerRe: Child processes that is started by a logon process ends when the parent process ends in Windows 2000 Pin
Dario Solera15-May-08 2:00
Dario Solera15-May-08 2:00 
Questionlate binding Pin
Pankaj Garg15-May-08 1:52
Pankaj Garg15-May-08 1:52 
AnswerRe: late binding Pin
dan!sh 15-May-08 2:07
professional dan!sh 15-May-08 2:07 
AnswerRe: late binding Pin
CPallini15-May-08 2:10
mveCPallini15-May-08 2:10 
QuestionRe: late binding Pin
Pankaj Garg15-May-08 2:54
Pankaj Garg15-May-08 2:54 
AnswerRe: late binding Pin
CPallini15-May-08 3:11
mveCPallini15-May-08 3:11 
AnswerRe: late binding Pin
Guffa15-May-08 7:29
Guffa15-May-08 7:29 
Questioncould anyone tell me Pin
prasadbuddhika15-May-08 1:18
prasadbuddhika15-May-08 1:18 
AnswerRe: could anyone tell me Pin
Ashfield15-May-08 3:08
Ashfield15-May-08 3:08 
QuestionBest way to insert DataSet to database table Pin
cokelite15-May-08 0:44
cokelite15-May-08 0:44 
AnswerRe: Best way to insert DataSet to database table Pin
Bert delaVega15-May-08 7:16
Bert delaVega15-May-08 7:16 
QuestionImplement ListView Itemplate - for dynamically building a listview itemtemplaet Pin
harleydk15-May-08 0:42
harleydk15-May-08 0:42 
QuestionHow to preserve Master page data whenever conten page is loaded? Pin
.NetRams15-May-08 0:10
.NetRams15-May-08 0:10 
AnswerRe: How to preserve Master page data whenever conten page is loaded? Pin
harleydk15-May-08 0:39
harleydk15-May-08 0:39 
QuestionHow do I create a PropertyGrid with dynamic Properties? Pin
Megidolaon14-May-08 23:51
Megidolaon14-May-08 23:51 

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.