Advertisement

08.21.2007 at 07:46AM PDT, ID: 22776844
[x]
Attachment Details

How can One Browse to Folder container only in C# Windows Form ??

Asked by Saxitalis in Microsoft Visual C#.Net, C# Programming Language

Tags: folder, browse, dialog, form

Hello,

I had this code: browse to a folder - what I want but process was Waaaayyyy sloooowww
*********
string ObsSpDAtaXMLFolder = @"C:\EHarvest\Management\ObserverExportFiles\Text Files";
Process.Start(ObsSpDAtaXMLFolder);
*********

So I changed to this: Browsing fast but don't want user to select a file
**********
openFileDialogCSVFilePath.InitialDirectory = @"C:\EHarvest\Management\ObserverExportFiles\Text Files";//edXMLFile.Text.Trim();
if (openFileDialogCSVFilePath.ShowDialog() == DialogResult.OK)
{
    //edXMLFile.Text = openFileDialogCSVFilePath.FileName.Trim();
}
**********

Problem: Now browsing to the folder (with file dialog) but I only want to browse this folder, not do anything with the files in it fom this dialog. If user selects one of the files, the file gets tied up and can't be used by other processes.

Question:

Can I use above code but have a folder browse only open - NO file dialog???

Thanks

Start Free Trial
[+][-]08.21.2007 at 07:58AM PDT, ID: 19738409

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.21.2007 at 08:24AM PDT, ID: 19738696

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.21.2007 at 09:06AM PDT, ID: 19739068

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.22.2007 at 01:58AM PDT, ID: 19744490

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.22.2007 at 03:20AM PDT, ID: 19744797

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.22.2007 at 01:26PM PDT, ID: 19749406

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.22.2007 at 05:42PM PDT, ID: 19750691

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.25.2007 at 06:02PM PDT, ID: 19769701

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.26.2007 at 05:24AM PDT, ID: 19770785

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.26.2007 at 11:35AM PDT, ID: 19771749

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.26.2007 at 12:05PM PDT, ID: 19771842

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, C# Programming Language
Tags: folder, browse, dialog, form
Sign Up Now!
Solution Provided By: TheLearnedOne
Participating Experts: 3
Solution Grade: A
 
 
[+][-]08.29.2007 at 11:12AM PDT, ID: 19793834

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628