I see the others have you given you plenty to read regarding the parsing of parameters, so I will just add that it would be best to do ONLY the parsing of parameters and possibly writing of the help text in the Console application and put all actual program logic in a dll. That way you can plug any interface you want into your app: console window, windows UI, WPF, Web Service or whatever.
In a C# 2008 desktop application, I want to be able to check for a directory folder existing in a specified location. The directory path will look like C:\\main_folder\mm_yyyy. The mm_yyyy stands for the month and year. Thus can you should be code on how to check if a folder actually exists?
To the OP: If you store file files as MM_yyyy, then the sort order is useless to you, no matter what you chose to sort by - because all the Januaries come before all the Februaries, and the years are then sorted within the month. If you store by year first, you can retrieve the file names in "oldest first" or "newest first" without any additional processing.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
this.axFraCtrlShowPPT.Open("e:\\1.ppt",true,"PowerPoint.Show",null,null);//open filethis.axFraCtrlShowPPT.PPTPlay();//Try to read or write protected memory this usually indicating other memory has been damaged
I want to open a ppt in the axFrameControl,and play the ppt after opening it,but it encoutered an error when it was playing ppt. Can you give me the correct answer?