473,320 Members | 2,020 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,320 software developers and data experts.

Change OpenFileDialog Size (width and height)

Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?

Thanks,
Jason
Sep 14 '06 #1
3 5730
Jason wrote:
Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?
The OpenFileDialog internally calls the GetOpenFileName API. The docs
for that API seem to indicate that sizing the dialog is not supported.

If you need to have it sizeable, you may have to roll your own.

I looked around on Google and could not find a re-sizeable dialog.

Sep 14 '06 #2

Jason wrote:
Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?

Thanks,
Jason
The open file dialog is sizeable, but the user must size it themselves.

Sep 14 '06 #3
Hi,

You can resize your Open/Save dialogs using our Dialog Workshop .NET.
Our powerful Open/Save dialogs allows you to specify initial dilaog
size and position, dock your own Windows Forms to the original dialog
window, etc.

Please visit http://www.componentage.com for details.

Best regards,
Alex Petrov
COMPONENTAGE Software
Jason wrote:
Hi,

I am developing .NET 1.1 desktop application, I want to pop up a
OpenFileDialog that has a large Width and Height.

However, there is no accessible OpenFileDialog.Width and
OpenFileDialog.Height or OpenFileDialog.Size to set. So how to change the
size of the dialog once it is poped up?

Thanks,
Jason
Sep 18 '06 #4

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

Similar topics

5
by: homecurr | last post by:
I am writing a tool to generate html and have a problem with the <img> tag. The tool generates something like "<img src="...">". At the time the html is generated, the tool does not know the actual...
1
by: Nathan Sokalski | last post by:
I am using the ImageUrl property of the Hyperlink control to create a graphical Hyperlink. However, I want to change the size of the image I am using, but the generated HTML places the width/height...
3
by: yxq | last post by:
Hello, I use the com component "shockwave flash object" to play flash file, but how to get the actual size (width*height) of flash file but no control size? thank you!
5
by: Pohihihi | last post by:
Why can't the following work when it has a set property defined? this.textBox1.Size.Width = 25; I get error Cannot modify the return value of 'System.Windows.Forms.Control.Size' because it is...
0
by: Jason | last post by:
Hi, I am developing .NET 1.1 desktop application, I want to pop up a OpenFileDialog that has a large Width and Height. However, there is no accessible OpenFileDialog.Width and...
2
by: miladhatam | last post by:
i've made a dynamic website that upload an image file in image directory with fileuploader control and it's name was renamed and get ready to show with image control but i have a problem i want...
8
by: miladhatam | last post by:
can i change the size of a file dynamically ? for example have 100 Kb and i want to decrease it to 20 Kb thanks
1
by: gopim | last post by:
i uploaded image into database.but i want to restrict if images having more size(width & height) before uploading into database. could any please give information regarding this
1
by: Chris Rock | last post by:
I have a "Looped Slider" that displays a series of images, but I've had to manually resize the images (using height/width tags), but I'm looking for some code that will take the width of the DIV, and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.