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

OpenFile Dialog and view mode


Hi!

I show an OpenFile Dialog with: dlgOpen.ShowDialog() 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 4224
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.itwrote in message
news:ZZ********************@twister2.libero.it...
>
Hi!

I show an OpenFile Dialog with: dlgOpen.ShowDialog() 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.itwrote in message
news:pC********************@twister1.libero.it...
<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
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...
4
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...
1
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...
0
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...
1
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...
0
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...
2
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... ...
0
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...
9
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....
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...
1
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: 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)...
1
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
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.