Can you post some more code snippets? Because it seems that some of those listed in the article are out of sequence, for instance one snippet lists the following a the end of it.
//Begin process asyncronously
p = System.Diagnostics.Process.Start(proc);
But the next lists the following.
//load error records
ProcessStartInfo proc = new System.Diagnostics.ProcessStartInfo(strBCPPath);
Here it seem that proc is called before it is declared.