473,724 Members | 2,226 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 3197
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
2998
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
2391
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
1253
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
2107
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
8660
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
11399
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
3147
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
5050
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
2177
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
8868
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
9243
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
9160
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
9090
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8063
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...
1
6689
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4504
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4771
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3210
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

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.