Hello again fellow programmers,
I am trying to figure out a C# problem. I want to call a C# program while passing a parameter to it. It will be a windows program. This parameter will be a filename. How can I get the parameter from the main method that it enters the program at to the Form_Load event, or any other event at that. If I try passing it as a parameter, I will have to pass it through about 3 to 4 methods. Do I need to declare a static string variable in the class and store the parameter passed into the main method into that static string variable????????????????
Or is there another way?????????????
Thanks,
Kendal



LinkBack URL
About LinkBacks


