Hi
I am doing project in c#.. Now i am trying to do following things..
After completing the downloading process a window should open that contains the downloaded folder..
If i right click the folder name context menu should open.. All these process i have done..
My Problem is, in context menu i have an option like "Open Location Window".. In this i have to
open the window where the downloaded folder resides..
I could not achieve this..
Can anybody help me?
with regards
Ila...
Loading

Kirtan PatelRank #292 · 8.6K reputationPosted Feb 22, 2010, 3:35 AM EST
Basically what i does is Taken One Class With Static String In Which When you select Folder For Downloading file ..that path will stored in variable and its accessible to All Forms ..as it public static ..
after that When you press That Menu to Open folder it takes path from that public variable that holds path i Open Folder :)
if you face any difficulty regarding to this then let me know :)
Kirtan PatelRank #292 · 8.6K reputationPosted Feb 22, 2010, 2:20 AM EST
[email protected]
ila41 reputationPosted Feb 22, 2010, 2:35 AM EST
I have posted project plz find that
Karan Patel120 reputationPosted Feb 22, 2010, 3:16 AM EST
{
//this code works fine for you
// just do Exception Handling Your-self
System.Net.WebClient wc = new System.Net.WebClient();
string url = "http://img535.imageshack.us/img535/7526/76340640.jpg";
saveFileDialog1.FileName = url.Substring(url.LastIndexOf("/")+1);
saveFileDialog1.ShowDialog();
string op = saveFileDialog1.FileName;
wc.DownloadFile(url,op);
string parentdir = op.Substring(0, op.LastIndexOf("\\"));
//MessageBox.Show(parentdir);
System.Diagnostics.Process.Start(parentdir);
// Dont forget to accpet answer
}