المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Open File Dialog Box



C# Programming
07-02-2009, 01:11 PM
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();