473,545 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OpenFile Dialog and view mode


Hi!

I show an OpenFile Dialog with: dlgOpen.ShowDia log() but I'd like to
change the default view among Detail, Thumbnail, Icons, ect. Users
change the view mode by this button:

http://i15.tinypic.com/48nsol1.jpg

I want to do the same from code. How should I do?

Thanks
Marco / iw2nzm
Mar 17 '07 #1
4 4232
Check this out,
http://www.codeguru.com/csharp/cshar...le.php/c12801/

--
Carsten Thomsen
Senior .NET Solutions Architect / Developer / Author
MCAD/MCSD/MCSE/MCTS
"Marco Trapanese" <ma************ ******@libero.i twrote in message
news:ZZ******** ************@tw ister2.libero.i t...
>
Hi!

I show an OpenFile Dialog with: dlgOpen.ShowDia log() but I'd like to
change the default view among Detail, Thumbnail, Icons, ect. Users change
the view mode by this button:

http://i15.tinypic.com/48nsol1.jpg

I want to do the same from code. How should I do?

Thanks
Marco / iw2nzm

Mar 18 '07 #2
<ctwrote:
Check this out,
http://www.codeguru.com/csharp/cshar...le.php/c12801/

Thank you, it's interesting.
I want to add just this feature to OpenFile Dialog window. I'd like to
avoid to write my own customized dialog window. How should I do?

Thanks again
Marco / iw2nzm
Mar 18 '07 #3
Haven't tested this, but do have a look here:
http://www.codeproject.com/cs/miscct...68#xx1460468xx

--
Carsten Thomsen
Senior .NET Solutions Architect / Developer / Author
MCAD/MCSD/MCSE/MCTS
"Marco Trapanese" <ma************ ******@libero.i twrote in message
news:pC******** ************@tw ister1.libero.i t...
<ctwrote:
>Check this out,
http://www.codeguru.com/csharp/cshar...le.php/c12801/


Thank you, it's interesting.
I want to add just this feature to OpenFile Dialog window. I'd like to
avoid to write my own customized dialog window. How should I do?

Thanks again
Marco / iw2nzm

Mar 18 '07 #4
<ctwrote:
Haven't tested this, but do have a look here:
http://www.codeproject.com/cs/miscct...68#xx1460468xx
Thank you, thank you, thank you!!!

^___^

Marco / iw2nzm
Mar 18 '07 #5

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

Similar topics

1
4735
by: Dalan | last post by:
I designed a dialog box with a combo to select individual vendors from a form and its related data for print ouput. Though the dialog box seems to work okay, I apparently do not have the filtering code behind the OnOpen Event Procedure of the report structured correctly. Anyone's assistance will be appreciated, although I would like to stay...
4
6219
by: dave | last post by:
I have an app that uses the OpenFile Dialog class. When I invoke the ShowDialog method, the hourglass appears and just stays. The dialog window never opens. I created a test form with an OpenFileDialog object in a new app, and it works fine. I then added that test form to the original project, and it no longer works. So far, the application is...
1
1298
by: Mr Gordonz | last post by:
Hi All, I am trying to replicate the functionality of the HTML FileField control (<INPUT type="file">). It does everything I need but for one thing: I can't programmatically set the value of the FileField control - all the reading I have done says that it is impossible for security reasons. So, I want to use a standard Server controls:...
0
1393
by: ApexData | last post by:
Hello I launch the Find Dialog Box from a button on a form. How can I determine specifically when the Find Dialog Box is no longer being displayed? This will allow me to control my Button Availability which is giving me a problem because the OnCurrent code is invoked before the FindDialogBox leaves the
1
1244
by: Sean Campbell | last post by:
Hi all! I have a problem with the OpenFile dialog that I use in my program. I created a Browse button to allow for the selection of a text file that is processed by my program. The Browse button works perfectly when the .EXE is on my station. If I copy the .EXE to a network drive, the Browse button stops functioning. I have never seen...
0
2034
by: dieter grobler | last post by:
Hi there, I wanted to know if there is a way to specify the default location the OpenFileDialog shows when the browse button is pressed on the FileUpload Control. i.e "c:\program files\". I know this can be done for the win forms version of the dialog box. I understand that is displays the client side folder structure and not the server,...
2
3395
by: asenthil | last post by:
Hai... i'm triying to open a file in read mode using the following method.. HFILE hFile; hFile=OpenFile("D:\ss.doc",lpReOpenBuff,OF_READ); i cant undestand what is the 2nd parameter is... the syntax for openfile is
0
1127
by: jaeden99 | last post by:
I have created a datagrid filled with information from the database. When a user clicks on a particular cell (this cell contains drive letter and file name), I would like to be able to open the file. I have the datagrid cell selection code complete however when the openfiledialog appears, the filename showing in the filename box is...
9
5477
by: Gord | last post by:
In VB6, a custom dialog can be easily created by adding a new form, adding whatever controls you like, sizing it as you like, adding code and then just loading/unloading it whenever you like. Using Access 07, a form is a little different beast and it would appear a custom dialog cannot be created in the same way. How does one go about...
0
7484
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7415
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7928
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7440
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3451
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1902
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.