am getting Exception has been thrown by the target of an invocation error in my below coding...when i start my vs2005 the below coding working...after searching the some folder my below coding was not working....
internal static class Program
private static void Main()
The first place I would look is in teh constructor of your Main class, which better be a decendent of the Form class.
Start your application in the debugger not by hitting the Start button in Visual Studio, but by hitting F11 to step into the first line of your code, keep hitting F11, one line at a time, and watch the execution of your startup code and variables. You'll eventually hit the line that's failing.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)