Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


display all drives on system
 

 

 

Description

display all drives on system

Author

Programmershelp

Code

'place a combo box on the form

Private Sub Form_Load()
Dim objfso As Scripting.FileSystemObject
Dim drives As drives, drive As drive

Set objfso = CreateObject("Scripting.FileSystemObject")
Set drives = objfso.drives
For Each drive In drives
Combo1.AddItem drive.DriveLetter
Next

End Sub

Information

tested using Visual Basic 6 , Windows XP

 

 

 

 

Download

alldrives.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
bytes to whatever(VB)
display all processes on your system(VB)
List al disk drives(VBScript)
fade in script(Javascript)
Move a folder(ASP)
Empty recycle bin(C)
analog clock(VB)
create a word report on the services on your PC(VBScript)

    




Copyright © 2003 by programmershelp.co.uk