View Full Version : FileDialog - Window Position and Size


darbid
02-20-2009, 05:49 AM
For the FileDialog Object which I have found here http://msdn.microsoft.com/en-us/library/aa219843(office.11).aspx (http://msdn.microsoft.com/en-us/library/aa219843%28office.11%29.aspx)

Am I missing something or is there no way to change the position of the window or the size of it?

Pat Hartman
02-21-2009, 11:53 AM
No. I still use the API to open the file dialog because this method won't work if you open the application with the Access Runtime engine. The API doesn't give you any more control, it just works in more environments.

darbid
02-22-2009, 08:54 AM
The API doesn't give you any more control

Thanks Pat - There is one thing the API does give you - A damn headache if you want to change the defaultview menu from List View to something else. Whilst not essential I wanted to show Icons for some dialogs and Details for others.

I finally got it though (with the help of many many google searches)

For anyone that wants to get adventerous with the API file dialog you should look here http://vbnet.mvps.org/code/comdlg/filedlgsoverview.htm