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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top