Dear all,
I need to display a common Open folder dialog in order to be able to select
a particular folder.
I have check for the FolderBrowserDialog object but it does not display my
all drive structure, myDocument folder, myComputer ...
In fact I fold like to getb the same dialog as for the OpenFile or SaveAs
file dialog but for a folder selection
How can I do this
thanks for your help
regards
serge 8 2040
Serge,
I thought that I became crazy therefore I even tried it. I have check for the FolderBrowserDialog object but it does not display my all drive structure, myDocument folder, myComputer ...
For me it shows this all.
I hope this helps,
Cor
Serge,
I thought that I became crazy therefore I even tried it. I have check for the FolderBrowserDialog object but it does not display my all drive structure, myDocument folder, myComputer ...
For me it shows this all.
I hope this helps,
Cor
Could you please post sample how you set it, maybe I miss something
thnaks
"Cor Ligthert" wrote: Serge,
I thought that I became crazy therefore I even tried it.
I have check for the FolderBrowserDialog object but it does not display my all drive structure, myDocument folder, myComputer ... For me it shows this all.
I hope this helps,
Cor
Could you please post sample how you set it, maybe I miss something
thnaks
"Cor Ligthert" wrote: Serge,
I thought that I became crazy therefore I even tried it.
I have check for the FolderBrowserDialog object but it does not display my all drive structure, myDocument folder, myComputer ... For me it shows this all.
I hope this helps,
Cor
Serge,
I was trying it serious with the designer however it is not more than in
VBNet
\\\
dim mydialog as new folderbrowserdialog
mydialog.showdialog
///
and in C#
\\\
FolderBrowserDialog mydialog = new FolderBrowserDialog();
mydialog.ShowDialog();
////
I hope this helps,
Cor
Serge,
I was trying it serious with the designer however it is not more than in
VBNet
\\\
dim mydialog as new folderbrowserdialog
mydialog.showdialog
///
and in C#
\\\
FolderBrowserDialog mydialog = new FolderBrowserDialog();
mydialog.ShowDialog();
////
I hope this helps,
Cor
Imports System
Imports System.IO.Path
Dim d As New FolderBrowserDialog
Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnBrowse.Click
d.ShowDialog()
Debug.WriteLine(d.SelectedPath)
' make a reference to a directory
Dim di As New IO.DirectoryInfo(d.SelectedPath)
Dim diar1 As IO.FileInfo() = di.GetFiles()
Dim dra As IO.FileInfo
'list the names of all files in the specified directory
For Each dra In diar1
lstVideo.Items.Add(dra) <==== i added listbox....u can
do any control u want
Next
End Sub
serge calderara wrote: Dear all,
I need to display a common Open folder dialog in order to be able to select a particular folder. I have check for the FolderBrowserDialog object but it does not display my all drive structure, myDocument folder, myComputer ...
In fact I fold like to getb the same dialog as for the OpenFile or SaveAs file dialog but for a folder selection
How can I do this
thanks for your help regards serge
Imports System
Imports System.IO.Path
Dim d As New FolderBrowserDialog
Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnBrowse.Click
d.ShowDialog()
Debug.WriteLine(d.SelectedPath)
' make a reference to a directory
Dim di As New IO.DirectoryInfo(d.SelectedPath)
Dim diar1 As IO.FileInfo() = di.GetFiles()
Dim dra As IO.FileInfo
'list the names of all files in the specified directory
For Each dra In diar1
lstVideo.Items.Add(dra) <==== i added listbox....u can
do any control u want
Next
End Sub
serge calderara wrote: Dear all,
I need to display a common Open folder dialog in order to be able to select a particular folder. I have check for the FolderBrowserDialog object but it does not display my all drive structure, myDocument folder, myComputer ...
In fact I fold like to getb the same dialog as for the OpenFile or SaveAs file dialog but for a folder selection
How can I do this
thanks for your help regards serge
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Prosonman |
last post by:
Hi,
What is the best way to transfer variables to and from a dialog box? My
project consists of a form with a number of controls, lets say three Labels,
when a label is clicked it opens a dialog...
|
by: serge calderara |
last post by:
Dear all,
I need to display a common Open folder dialog in order to be able to select
a particular folder.
I have check for the FolderBrowserDialog object but it does not display my
all drive...
|
by: George |
last post by:
Is there a way to customize the open file common dialog? I am trying to
modify the button text so I can create a delete file common dialog. I need
the same functionality of the open file common...
|
by: Carmine |
last post by:
I'm currently writing a small program that churns on a repetitive task
while displaying a progress & cancel modeless dialog. I've been having
problems due to threadlocking, and I was wondering if...
|
by: Alexander |
last post by:
Hi, I have written a program that takes on some operations much more
time than I expected. As I have seen users clicking wildly on the
screen to make something happen, I want to follow the...
| |
by: Guadala Harry |
last post by:
I have a modal dialog that currently does all of the following except item
4.
1. lets users select a graphic from a list of thumbnails (and when selected,
displays the full-size image in a...
|
by: MrKrich |
last post by:
Is there is something like OpenFile Dialog but open folder
instead?
|
by: Zytan |
last post by:
I have created a new form from the main form. When I close the main
form with the 'x' close button, its Form.FormClosed event is run, but
not the dialog's.
Is this normal? It is ok /...
|
by: Moezzie |
last post by:
So ive got a bit of a problem here. Ive been searching the net about this for quite some time now but i just cant seem to figure out how to open a dialog that ive made in QtDesigner.
Of corse i...
|
by: VK |
last post by:
In the continuation of the discussion at "Making Site Opaque -- This
Strategy Feasible?" and my comment at
http://groups.google.com/group/comp.lang.javascript/msg/b515a4408680e8e2
I have...
|
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,...
| |
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,...
|
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...
|
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...
|
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,...
|
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...
|
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 ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |