i am newbie to c# and started few months before, i am facing problem in copying two files and saving it in the other location which the user defines. have you seen notepad in microsoft windows? when clicked exit is asked for save. and when clicked yes then it give the dialog for saving where you want like that i want. i have two files in c\program files\myfolder and i want to move it to the user define location. how that can be done? i have to design that dialog form also? that buttons that save cancle button and combobox also? and all things which comes in that dialog or some easy thing is provided by c#?
Share
There is a built-in .NET dialog for this, look up
OpenFileDialogIgnore the fact that it has ‘open’ in the name, it can equally be used to select a location to save files to.
http://msdn.microsoft.com/en-gb/library/system.windows.forms.openfiledialog.aspx