473,396 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Need help with OpenFileDialog StartPosition / Location settings

Everything I've read so far states you can't inherit or extend these
dialogs because they're "sealed".

I considered building my own custom control, but I haven't been able to
find:

1) How to add a "Places Bar" to a form
2) How to hook a Combo Box into System locations like the existing
OpenFileDialog / SaveFileDialog offer (ie. "My Recent Documents",
"Desktop", etc.)
3) A Directory List control that displays Folders and Files, as found
in the OpenFileDialog / SaveFileDialog

In my research, I did discover a web site that sells a Framework that
claims to allow you to "dock" dialogs, specify Start Position, etc.
http://www.componentage.com

They claim you can extend both Open/Save as well as Print, Font, etc.
dialogs. Everything I've read so far contradicts this though, not to
mention the last thing I want to do is add bloatware to my project.

Is there any way to hook / override / interface somehow the
OpenFileDialog / SaveFileDialog controls and specify a Location to be
displayed on the screen when they're launched ?

Kinda like the "Point" member, where you can specify the "X" and "Y"
Coordinates and then assign the Point variable to the .Location member
of most controls.

Nov 17 '05 #1
3 4007
"ci******@hotmail.com" wrote:
In my research, I did discover a web site that sells a Framework that
claims to allow you to "dock" dialogs, specify Start Position, etc.
http://www.componentage.com

They claim you can extend both Open/Save as well as Print, Font, etc.
dialogs. Everything I've read so far contradicts this though, not to
mention the last thing I want to do is add bloatware to my project.


at a guess they're p/invoking the base win32 dialogs which aren't sealed.
Nov 17 '05 #2
You might want to check out Shell MegaPAck at http://www.ssware.com for
Explorer GUI components.

<ci******@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Everything I've read so far states you can't inherit or extend these
dialogs because they're "sealed".

I considered building my own custom control, but I haven't been able to
find:

1) How to add a "Places Bar" to a form
2) How to hook a Combo Box into System locations like the existing
OpenFileDialog / SaveFileDialog offer (ie. "My Recent Documents",
"Desktop", etc.)
3) A Directory List control that displays Folders and Files, as found
in the OpenFileDialog / SaveFileDialog

In my research, I did discover a web site that sells a Framework that
claims to allow you to "dock" dialogs, specify Start Position, etc.
http://www.componentage.com

They claim you can extend both Open/Save as well as Print, Font, etc.
dialogs. Everything I've read so far contradicts this though, not to
mention the last thing I want to do is add bloatware to my project.

Is there any way to hook / override / interface somehow the
OpenFileDialog / SaveFileDialog controls and specify a Location to be
displayed on the screen when they're launched ?

Kinda like the "Point" member, where you can specify the "X" and "Y"
Coordinates and then assign the Point variable to the .Location member
of most controls.

Nov 17 '05 #3
So I guess nothing but bloatware exists, how unfortunate. Was looking
for something more down to coding conventions or tricks that might
work.

Anyone know of any API hooks to move dialog boxes that are sealed?

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mr. B | last post by:
If you can set the 'initial' path of an OpenFileDialog box by something like the following: Dim FilesPath As String ' Files Path FilesPath = "P:\Projects\" FilesPath =...
3
by: Ed P. | last post by:
Hello, I have an application that uses an access database that is stored in my computer. I would like to set up a OpenFileDialog object to be able to select the source of this database (i.e....
3
by: bobrad | last post by:
MAYBE SOMEBODY CAM HELP I AM USING THE FOLLOWING CODE TO GET A LOCATION OF A FILE IN A WINFORM DIALOG OpenFileDialog openFileDialog = new OpenFileDialog(); OpenFileDialog.Filter = " Access...
5
by: MFC | last post by:
Ok, after three C# books, (C# How to Program, Programming in the Key of C#, and C# Weekend Crash Course) and three weeks, I believe I have tried everything to make a certain form function...
2
by: Geoff Jones | last post by:
Hi Can anybody tell me how to specify the startup location of an OpenFileDialog? Thanks in advance Geoff
3
by: Terry Olsen | last post by:
I'm trying to add a domain user to a local group using the code below: Dim LCL As New DirectoryEntry("WinNT://" + Environment.MachineName + ",computer") Dim DOM As New...
14
by: pamela fluente | last post by:
I want to use the ordinary OpenFileDialog to choose a folder instead of a file. Is it possible? And how? -P
3
by: Martijn Mulder | last post by:
It strikes me that System.Windows.Forms.OpenFileDialog seems te 'remember' which directory it was in last, even when a new OpenFileDialog-object is created for every access to the file system....
2
by: MikeY | last post by:
Hi everyone, I"m having a problem with the OpenFileDialog() changing my path to save to my .resources file. I'm a bit baffled why this is happening, even when I set the OpenFileDialog back to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.