TypeInitializationException

I get a "TypeInitializationException" error from a console application that is attempting to shell out to another console application after the first one completes.

The following statement produces the error:

intProcessID = Shell(strShellPathName)

If I run the second console application separately, it works fine. I also know that I'm shelling out to the correct pathname.

Does anybody have any idea what's going on here and how I can resolve this?

Thanks,

Bill....

[490 byte] By [codefund.com] at [2007-12-16]