Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6782211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:42:51+00:00 2026-05-26T16:42:51+00:00

I know this shouldn’t be as hard as I have found it to be,

  • 0

I know this shouldn’t be as hard as I have found it to be, but I could use some help on a problem. I have used, and am familiar with the FileUpload control, works great.

But now I have a need to allow the user to choose a folder path without selecting a file. Basically a folder location, on the local hard drive where my code will read the files located in the choosen folder and process against them.

I am drawing a total blank and my web searches are not giving me what I am looking for.

I initially developed this with a Windows FolderDialogBrowser control, but it will not run on the web server, likely a security issue, and I can not change it.

Public Class FolderBrowserDialogExampleForm 
Inherits Form 

Private folderBrowserDialog1 As FolderBrowserDialog 
Private openFileDialog1 As OpenFileDialog 

Private richTextBox1 As RichTextBox 

Private mainMenu1 As MainMenu 
Private fileMenuItem As MenuItem 
Private WithEvents folderMenuItem As MenuItem, _ 
                   closeMenuItem As MenuItem, _ 
                   openMenuItem As MenuItem 

Private openFileName As String, folderName As String 

Private fileOpened As Boolean = False

Is there some way to open the folder browser on the local machine, from a web browser? I’m not looking to salvage the code above unless there is a reasonable fix.

Full error message:

Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: BC30002: Type 'Form' is not defined.

Source error:

Line 10: 
Line 11: Public Class FolderBrowserDialogExampleForm
Line 12:     Inherits Form                             ' this line errors
Line 13: 
Line 14:     Private folderBrowserDialog1 As FolderBrowserDialog
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:42:52+00:00Added an answer on May 26, 2026 at 4:42 pm

    There is no concept of folder selection in the HTML/JavaScript platform. Even if you could select one, you wouldn’t be able to do anything with the folder path. If you use a plugin technology like Silverlight, Flash, or a Java applet, they may have folder selection and reading capabilities.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this shouldn't be that hard, but I couldn't find the answer on
I know you shouldn't use this to decide whether or not to change an
I know I shouldn't have id's with the same value. This is just fictitious,
I know this shouldn't be done.. but i need the home page to be
I'm a beginner but have been working really hard to build this application. Working
I've been thinking about some possible features C++ could have, does anyone know why
Surely, this shouldn't be so hard? I have a <select> , which has, of
UPDATED: Added some sample code to help clarify. Hi, Feel like this shouldn't be
I know this should be simple and I should know it but it's eluding
I know this should be a basic question but I am hitting a brick

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.