Click here to Skip to main content
15,904,415 members

Comments by CertNerd (Top 5 by date)

CertNerd 4-Feb-16 13:16pm View    
Thanks for the input!

In my case I don't receive any warnings probably because I did assign a value to each variable somewhere in the code, but not in each and every possible logic path.

For instance:

bool keepThisRecord;

if (!validRecord())
keepThisRecord = false;

Obviously, in this case, 'keep' will *always* be false. But if you're careless like me, you don't know that until after you get bad output :)
CertNerd 28-Aug-12 13:15pm View    
Thank you very much! It turned out that my code was just fine except for the fact that I wasn't accounting for the process name being upper/lower case :). Sometimes, we get so wrapped up in the details, that the simplest things go right over our heads! Anyway, thanks for tipping me off!
CertNerd 12-Jul-12 14:48pm View    
Thanks, I wasn't familiar with workers. The question still remains, however, where do I call RunWorkerAsync() if I don't want the user to have to click anything in order for the maintenance task to take place?
CertNerd 11-Jul-12 16:20pm View    
Ok - so I have a Load method written. How do I trigger the Load event?
CertNerd 27-Apr-12 14:39pm View    
Thanks so much for your help! This worked perfectly. Sorry it took me so long to try it out.