Hi, I noticed that the sdk doesn't seem to have an OpenFileDialog, where you can browse for a file. I tried using the one that comes with dotnet together with the UI API, however it doesn't seem to appear. Can anyone help with this? Thanks
Here is my code:
OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.InitialDirectory = @"C:\";
openFileDialog1.Title = "Select a File";
openFileDialog1.Filter = "Access Files|*.mdb";
if (openFileDialog1.ShowDialog() != DialogResult.Cancel)
{
oEdit.Value = openFileDialog1.FileName;
}
else
{
oEdit.Value = "";
}
string loadString = oEdit.Value.ToString();
Edited by: Costas Ioannou on Jun 16, 2009 4:11 PM