mb01a 18 Light Poster

If you're looking for a 'one-liner' there is none ..
You should read up on the "GetVolumeInformation" API function.

debasisdas commented: agree +13
mb01a 18 Light Poster

Have you ever needed to open a file with your VB program?

Here's a way to easily do it. (code copied from an original program written by Mike B)

If the program that uses the file is installed on your workstation, the file will be opened in that application.

I use this a lot in many programs.

:)
Mike

ChrisPadgham commented: eligant piece of code +5
mb01a 18 Light Poster

I use OSCommerce for my sites and have FedEx shipping available. FedEx has an API that gets installed into oscommerce and gives me shipping charges based on the weight (in pounds) of what I sell.

Tax calcs are also built in. I charge tax in my home state only.