How to get drive letter and drive name (i mean like d[my data]:\" programatically?
PS: i don't want to use FSO coz i don't want dependencies. and with FSO i have to make a reference to FSO.
How to get drive letter and drive name (i mean like d[my data]:\" programatically?
PS: i don't want to use FSO coz i don't want dependencies. and with FSO i have to make a reference to FSO.
Perhaps this sample is what you need.
Microsoft MVP - Visual Basic 2006-2013
Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database .
Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent .
The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array
Visual Basic 6.0 On-Line Documentation . Connection Strings
Hmmm....nice but doesn't give drive names
The better the information you give to begin with and the sooner you reply the sooner you will get help and get your problem resolved
When I was young and in my prime I used to program all the time but now I'm old and getting gray I only program once a day
There is also GetVolumeInformation api - here is another sample (didn't take much to search for that either).
Microsoft MVP - Visual Basic 2006-2013
Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database .
Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent .
The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array
Visual Basic 6.0 On-Line Documentation . Connection Strings
The WNetGetConnection API may also be of interest