you can list drives like this :

first imports :

Imports System
Imports System.IO

implement this on your form:

                For Each drive_info As DriveInfo In DriveInfo.GetDrives()
                     combobox.Items.Add( drive_info.Name)
               Next drive_info

On May 4, 8:05 pm, Vivek SHANTHARAM <[email protected]> wrote:
> Hi All,
>
> I have a folderopendialog and i want to set it by default to point it to
> D:\. There is an Enum called Environment.SpecialFolder that has some values
> like My computer, my documents, program files , when i looked at the meta
> data for those special folder.  I want to override that enum and add my D
> drive there. I am clueless as how to proceed. Please give me some tips how
> to do that.
>
> thanks,
> regards,
> vivek.

Reply via email to