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

  • Home
  • SEARCH
  • 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 6748501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:34:21+00:00 2026-05-26T12:34:21+00:00

I am trying to update some local access databases from a web database. When

  • 0

I am trying to update some local access databases from a web database. When I am accessing the web page, I want the user to select a folder on the local hard drive where the DB’s reside that will be updated by the program. I actually have been using the File Upload control to do this as it has allowed me to check the file extensions on the local DB’s their file size and other misc. items.

This captures the full path with the file name…

fileName = FileUploadAccess.PostedFile.FileName.ToLower

Now I have a need to capture the full path of the db’s on the local hard drive. I can get the full path with the filename, but then I need to write a bunch of code to strip the filename from the path variable.

Is there a simple way to capture the path of the location the DB when the file location is selected, something like this….

Dim thePath As String = System.IO.Path.GetFullPath

Thanks for any suggestions.

  • 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-26T12:34:22+00:00Added an answer on May 26, 2026 at 12:34 pm

    You can use IO.Path.GetDirectoryName

    Here is a sample code:

    Dim MyDirectoryPath As String = System.IO.Path.GetDirectoryName(MyFullPath)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I am trying to update a div with some html from another div.
I'm trying to write some simple C# code that will select some data from
I'm trying to update some properties with KVC. The properties have been synthesized. This
I am trying to update a field in a table with data from another
So I'm trying to update an object in my MS SQL 2005 database using
I am in Albuquerque, NM. I am trying to update some stamps every time
We have a local server with an access database which feeds data to clients
I've been trying to create new local user accounts on windows 7 machine. I
I am having some problem here. I am trying to develop a flash database
I am trying to use Python's ctypes library to access some methods in the

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.