473,915 Members | 5,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[REPOST] OpenFileDialog and Thumbnails view

the dotnet OpenFileDialog brings up a window that looks
similar to a File Explorer window, and indeed depending
on some user settings may list files in a details view,
thumbnails view etc.

Is there any way to guarantee that the dialog comes up in
a particular state-- for instance showing thumbnails?

a similar question would be how to control the list of
folders that appear on the bar on the left of the dialog
when it is shown.

Thanks in advance!

Nov 15 '05 #1
2 3207
You may use the InitialDirector y property to control the folders that
appear.

--
Regards,

Felix Wang

"anonymous" <an*******@disc ussions.microso ft.com> wrote in message
news:06******** *************** *****@phx.gbl.. .
the dotnet OpenFileDialog brings up a window that looks
similar to a File Explorer window, and indeed depending
on some user settings may list files in a details view,
thumbnails view etc.

Is there any way to guarantee that the dialog comes up in
a particular state-- for instance showing thumbnails?

a similar question would be how to control the list of
folders that appear on the bar on the left of the dialog
when it is shown.

Thanks in advance!

Nov 15 '05 #2
InitialDirector y controls which folder appears, not the style of
presentation. I think the question is how to get the equivalent of
FileExplorer menu View..Thumbnail s, View..Details etc.

I'd guess this has something to do with shell extensions and some state that
is persisted for the folder, but i'm afraid i don't know the real answer to
the question.

Does anybody know?
"Felix Wang" <I'*@home.now > wrote in message
news:#E******** ******@TK2MSFTN GP09.phx.gbl...
You may use the InitialDirector y property to control the folders that
appear.

--
Regards,

Felix Wang

"anonymous" <an*******@disc ussions.microso ft.com> wrote in message
news:06******** *************** *****@phx.gbl.. .
the dotnet OpenFileDialog brings up a window that looks
similar to a File Explorer window, and indeed depending
on some user settings may list files in a details view,
thumbnails view etc.

Is there any way to guarantee that the dialog comes up in
a particular state-- for instance showing thumbnails?

a similar question would be how to control the list of
folders that appear on the bar on the left of the dialog
when it is shown.

Thanks in advance!


Nov 15 '05 #3

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

Similar topics

3
3005
by: Jody Gelowitz | last post by:
VS.NET 2002 and 2003 are installed. ..NET Framework 1.0 and 1.1 installed Program running under VisualBasic.NET 2002 with .NET Framwork 1.0 I am experiencing a problem with ADO.NET where the Connection object (OleDBConnection) will not Open (conIncident.Open) given the following situation: 1. Program is loaded and connection is established to Access database on C:
0
2408
by: anonymous | last post by:
the dotnet OpenFileDialog brings up a window that looks similar to a File Explorer window, and indeed depending on some user settings may list files in a details view, thumbnails view etc. Is there some property to set so that this may be done by my app rather than depending on whatever state the user left? for instance, can i force OpenFileDialog to give the user thumbnails when the dialog is shown? a similar question would be how...
0
1264
by: andrija | last post by:
When calling OpenFileDialog, in one project I get exception out of memory (untrappable), while in another it works ok. (I create a new project with just this code and it sometimes does not work, at all.). Exception occurs while program is trying to show dialog (it shows it for a second). OpenFileDialog dl=new OpenFileDialog(); dl.ShowDialog();
1
2112
by: Lars | last post by:
I've seen this question posted a couple of times, but haven't seen an answer. Anyone have an idea how to make an openFileDialog appear in thumbnail view when it opens? - Lars
4
8698
by: Sharon | last post by:
I’m using OpenFileDialog class in a specific InitialDirectory and I want that files will be selected in the opened dialog when I call ShowDialog(). Actually I wish to select all files in the directory automatically by code. Is it doable? How?? -- Regards Sharon G.
3
11408
by: Vagabond Software | last post by:
I'm trying to display thumbnail images in a Listview that look more like the Windows thumbnail view. Everything is working pretty good, but my thumbnails are decidedly not like the Windows thumbnails. View the following snapshot to compare the Windows thumbnails (top) to my ListView thumbnails (bottom): http://home.san.rr.com/vagabondia/images/tmp/sample.gif It looks like the Windows thumbnails retain their proportion by, perhaps,
6
3167
by: mike w. | last post by:
I want to create an application using VB.Net to have something like windows explorer to view thumbnails of image files in the directories. Is there a control or soemthing to do this? thanks mike w.
9
5061
by: Sagaert Johan | last post by:
Hi Can i extend the OpenFileDialog so i can show a thumbnail of a picture i am opening ? (priview it in a picturebox inside the fileopen dialog ) Johan
0
2195
by: mbewers1 | last post by:
Hi I'm having a problem trying to get a customised OpenFileDialog() to fulfil my requirements. The code for this custom-built dialog has been taken from another site (http://www.codeproject.com/KB/dialog/FileDialogExtender.aspx) ) and allows the user to select the viewing method before opening the dialog to show a file directory. The following event is assigned to a button on my form which, when prompted, displays the dialog. public...
0
10039
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9881
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11354
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10923
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11066
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9732
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7256
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4344
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.