Announcement

Collapse
No announcement yet.

Combo_Dir for long file names

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Combo_Dir for long file names

    I'm using a combo box to list file names so I do something like,

    Code:
    CALL Combo_Dir (tb_hWndCombo, _
                    %DDL_ARCHIVE  OR _
                    %DDL_READONLY OR _
                    %DDL_READWRITE, _
                    File_Dir$ + "*.tgf")
    Long file names appear in the drop list as the abbreviated MSDOS form. Is this the correct behaviour and how would I get long file names listed?

    Keith

    ------------------

  • #2
    Keith,

    Yes, if you want long filenames you will need to populate
    the combobox manually.

    ------------------
    -Greg
    -Greg
    [email protected]
    MCP,MCSA,MCSE,MCSD

    Comment


    • #3
      According MSDN, short names in 9x, long names - in NT/2000.


      ------------------
      E-MAIL: [email protected]

      Comment


      • #4
        Greg and Semen,

        Thanks to you both for confirming that. I will have a go at populating the list box manually, presumable with PB's DIR$.

        Keith


        ------------------

        Comment


        • #5
          If you are not against using a DLL you could try PBSctrl in the 3th party section.


          ------------------
          hellobasic

          Comment

          Working...
          X