Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How To Modify Explorer.mdb? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    See attached demo from The Access Web, Dev Ashish

    http://www.mvps.org/access/modules/mdl0013.htm

    Open frm_AccWeb_Explorer

    When I Single Click to view files, how can I sort the files in the right pane in alphabetical sequence?

    When I Double click on an item to refesh display, how can I sort the directories in the left pane in alphabetical sequence?


    Thanks, John
    Attached Files Attached Files

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: How To Modify Explorer.mdb? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    You'd have to sort the arrays.

    (I wouldn't use this stuff at all, but it's your choice)

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How To Modify Explorer.mdb? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    Thanks for the info

    I got this working
    When I Double click on an item to refesh display, how can I sort the directories in the left pane in alphabetical sequence?

    What is the code to do This?
    When I Single Click to view files, how can I sort the files in the right pane in alphabetical sequence?

    Are there limitations? What other alternative would I use?

    Thanks, John

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: How To Modify Explorer.mdb? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    The answer is the same for both: remove or comment out the call to PDF_accSortStringArray. It messes things up. If you omit it, folders and files are displayed in alphabetic order, since the Dir function does that automatically.

    Using list boxes to show drives, folders and files is the Windows 3.1 way to do it (early 1990s). Windows 95 and up have a much nicer file dialog. In Office XP and later, you can use the Application.FileDialog object to display this dialog, but that is not available in Office 2000. You can use the dialog from <post:=304,810>post 304,810</post:> instead. The user can display and sort the files the way (s)he likes, use the My Places bar etc. It works in any version of Access.

  5. #5
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How To Modify Explorer.mdb? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    Thank you for that

    John

Posting Permissions

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