Open File Dialog Box
-
HI,Tell me what is wrong in this code i am not able to view the Windows Folder openFileDialog1.CustomPlaces.Add("33E28130-4E1E-4676-835A-98395C3BC3BB"); openFileDialog1.AutoUpgradeEnabled = true; // Add Links custom place using GUID openFileDialog1.CustomPlaces.Add( new FileDialogCustomPlace( new Guid("BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968"))); // Add Windows custom place using file path. openFileDialog1.CustomPlaces.Add(@"c:\Windows\"); openFileDialog1.ShowDialog();
-
HI,Tell me what is wrong in this code i am not able to view the Windows Folder openFileDialog1.CustomPlaces.Add("33E28130-4E1E-4676-835A-98395C3BC3BB"); openFileDialog1.AutoUpgradeEnabled = true; // Add Links custom place using GUID openFileDialog1.CustomPlaces.Add( new FileDialogCustomPlace( new Guid("BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968"))); // Add Windows custom place using file path. openFileDialog1.CustomPlaces.Add(@"c:\Windows\"); openFileDialog1.ShowDialog();
Satish Pai wrote:
HI,Tell me what is wrong in this code i am not able to view the Windows Folder
First of all, you tell us what do you want to do? If you want to select Windows folder by default, then you should this:
openFileDialog1.InitialDirectory = @"c:\Windows\";
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Satish Pai wrote:
HI,Tell me what is wrong in this code i am not able to view the Windows Folder
First of all, you tell us what do you want to do? If you want to select Windows folder by default, then you should this:
openFileDialog1.InitialDirectory = @"c:\Windows\";
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
I want Windows Folder as shortcut in places bar ie at the left side. Do u have any Idea about this
-
I want Windows Folder as shortcut in places bar ie at the left side. Do u have any Idea about this
openFileDialog1.CustomPlaces.Add(@"c:\Windows\");
This code works for me atleast. Don't you see the Winddows Folder on left hand side? Is you Windows Folder is actually on C drive or somewhere else?
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
I want Windows Folder as shortcut in places bar ie at the left side. Do u have any Idea about this
See my reply to your earlier question? Changing the Places pane[^]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
openFileDialog1.CustomPlaces.Add(@"c:\Windows\");
This code works for me atleast. Don't you see the Winddows Folder on left hand side? Is you Windows Folder is actually on C drive or somewhere else?
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
which Operating system u are running this program
-
HI,Tell me what is wrong in this code i am not able to view the Windows Folder openFileDialog1.CustomPlaces.Add("33E28130-4E1E-4676-835A-98395C3BC3BB"); openFileDialog1.AutoUpgradeEnabled = true; // Add Links custom place using GUID openFileDialog1.CustomPlaces.Add( new FileDialogCustomPlace( new Guid("BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968"))); // Add Windows custom place using file path. openFileDialog1.CustomPlaces.Add(@"c:\Windows\"); openFileDialog1.ShowDialog();
-
which Operating system u are running this program
Vista
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Vista
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
Yes that's why it works in Properly.This Code does not work for Xp So Manas thank u