473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

available free space of shared network folder with quota

jonnycakes
Hello Bytes,

My Goal: In Access with VBA, I need to return the amount of available freespace of a shared network folder that has a quota.

In case that it matters, I want to point out that i'm working out of MS Access 2000.

Example: X:\SharedDrive1\Folder1\ In this case I would want to know the available space that Folder1 has.

It's important to know that SharedDrive1 and/or Folder1 may change (quotas will be different).

I've tried using the GetDiskFreeSpaceEx method (http://support.microsoft.com/kb/225144) and i'm finding that it is taking quotas into consideration, but only at the drive level and not at the folder level.

I've found a couple of solutions that may work, but I cant seem to figure out how to use them in Access.. These solutions can be found here: http://social.msdn.microsoft.com/For...8-b2c4df6646b4

I would like to stay away from adding an additional reference to my database if possible, but beggers cannot be choosers, so please dont let that discourage you from responding.

Any ideas out there?

Thank you in advance for your time,
Jon
Mar 31 '13 #1
1 1974
Turns out that there's a known "bug" with SMB 1.0. My issue would be corrected if I had SMB 2.0. More information can be found here: http://blogs.technet.com/b/filecab/a...26/458221.aspx
And here:
http://social.technet.microsoft.com/...-40f3358472c5/
Hope this helps somebody out there.
Apr 3 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: PeterNZ | last post by:
Hi all, I developped an C# app which is using FileSystemWatcher. If a file is created in a specific folder, it opens the file and does some processing. This functionality works without...
1
by: intl04 | last post by:
Are there any problems with multiple user access to the same Access database on a shared network drive? I have 'shared' chosen for 'default open mode'. As for the record locking properties, I...
2
by: sam | last post by:
What is the quickest way to retreive total space and free space for the network drivers. Sam
1
by: david.kao | last post by:
Hi All: Yesterday, we released our first .NET window based program on company’s network. In order to make our .NET program run correctly from a shared network driver, we also installed a...
5
by: Mitchell S. Honnert | last post by:
Is there a way, given the full path of a folder on a network, that one can programatically tell if you have Read access to that folder? I have an application where the user is able to select a...
4
by: Dixie | last post by:
I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would...
2
by: =?Utf-8?B?Um9tdQ==?= | last post by:
Hi all, I developed a little application which reads/stores some setting on its app.config file and it perfectly works...locally. If I store the application and the config file on a shared...
1
by: ArunRJ | last post by:
Hi All, I am new to the networking field. I recently had to share a folder in a Windows XP machine A with another XP machine B. The folder in machine A has some .xls files which I need to access...
0
by: elias.farah | last post by:
Hello Everyone, I've been searching for a few hours on how to check the available disk space (on a Flash disk actually) from within MS-Access. Basically, I want to ensure there is adequate...
1
by: Greg99 | last post by:
Hello. I need to find the available space for a given path (could be a network path) with a quota applied, but when I use the following code, it gives me the available space on the entire drive. ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
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...
0
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...

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.