Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have some functionality to do with files and folders like setting properties of files and folders.

I have to take some decision at run time like after encountering hidden files etc. And i want to ask a user to take decision on the file, and i have to apply the same decision on rest of the file with same settings.

What is the best way to do this?

For example:
----------------
Visual Studio Source Safe will ask user while getting latest version to override local files with VSS version and provide an option to "Apply to all items".

Thanks in advance.
Posted

1 solution

1. Use a dialog to ask the user for a decision.
2. Act on that decision.

Your question does not make it clear what the problem is with this.
 
Share this answer
 
Comments
krishnakumartm 14-Oct-11 6:23am    
There is no problem, The functional logic is done by using worker thread, so can i popup the dialog from there and get the input or is there any alternative to it.
Richard MacCutchan 14-Oct-11 9:46am    
What happens when you try? I'm not sure exactly what you are asking here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900