Results 1 to 3 of 3

Thread: How can I include a FileListbox and a dirlistbox on a form in Visual Basic .net

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Location
    Brugge
    Posts
    102

    How can I include a FileListbox and a dirlistbox on a form in Visual Basic .net

    Hello

    In the past I used Visual Studio 6 and recently I changed to .net.

    But I have some projects where I use a Filelistbox and a dirlistbox.
    When I want to do the same in .net i can't make it.

    Anyone Idees?
    Greetz Matje

  2. #2
    Lively Member Radar's Avatar
    Join Date
    Apr 2001
    Posts
    70
    If those controls are not included in .NET , then you'll probably have to look around for 3rd party replacements or "roll-your-own", possibly using a treeview for the dirs and a listbox for the files.
    Aww screw it. I didn't really want to fool with it anymore anyhow.

  3. #3
    Member
    Join Date
    Mar 2004
    Location
    uk
    Posts
    39
    Private Sub Drive1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Drive1.SelectedIndexChanged
    Dir1.Path = Drive1.Drive
    End Sub

    Private Sub Dir1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Dir1.SelectedIndexChanged
    File1.Path = Dir1.Path
    End Sub

    Dir1 = Dirlistbox
    Drive1 = Drivelistbox
    file1 = Filelistbox

    the components are in Visual Basic .net just not added into the pannel. Right click on the Forms Pannel goto Add/Remove and scroll down towards the bottom of the dialog box and you should see them just check them and then you can begin!.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width