Q: Startup Location of OpenFileDialog

  • Thread starter Thread starter Geoff Jones
  • Start date Start date
G

Geoff Jones

Hi

Can anybody tell me how to specify the startup location of an
OpenFileDialog?

Thanks in advance

Geoff
 
Try this one:
OpenFileDialog MyDlg = new OpenFileDialog();

MyDlg.Filter = "*.doc";

MyDlg.IntialDirectory = "\\temp";



Yonas
 
Hi Yonas,

Sorry, I didn't make myself clear; rather than the file "location" I was
talking about the physical location of the window e.g. the center of the
screen.

Geoff
 
Back
Top