Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Recent files in combobox

Recent files in combobox

Scheduled Pinned Locked Moved Visual Basic
regex
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnjsm
    wrote on last edited by
    #1

    Hi, Is it possible to display the recent files in a combobox in the same way windows does it when you go to open a file. If you start typing text a dropdown is displayed with files that match the text being entered.

    D O 2 Replies Last reply
    0
    • J johnjsm

      Hi, Is it possible to display the recent files in a combobox in the same way windows does it when you go to open a file. If you start typing text a dropdown is displayed with files that match the text being entered.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      If you're trying to do this in your own ComboBox list, outside of a standard OpenFileDialog, then you'll have to write all the code that keeps track of which folder the user is in and get the list of files in that folder so you have something to populate the ComboBox with as the user types. Is this what you're doing?

      Dave Kreskowiak Microsoft MVP - Visual Basic

      1 Reply Last reply
      0
      • J johnjsm

        Hi, Is it possible to display the recent files in a combobox in the same way windows does it when you go to open a file. If you start typing text a dropdown is displayed with files that match the text being entered.

        O Offline
        O Offline
        OldWarhorse
        wrote on last edited by
        #3

        Here's some VB6 code you might be able to use: http://www.freevbcode.com/ShowCode.asp?ID=6529[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups