Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 11th, 2005, 05:28 PM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mdtcao
Default How to: Populate Filename to listbox?

could someone give me an example on how to retrieve filename from a folder and populate that into a listbox.

thanks
 
Old May 11th, 2005, 10:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

there is already a control for that: the FileListBox. Set the Path and Pattern properties to select the files to be displayed
Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate ListBox seananderson Access VBA 13 April 18th, 2007 11:46 AM
populate listbox from SQL server Stanny Access 1 May 30th, 2005 08:11 AM
active directory populate listbox new_bie C# 1 March 17th, 2005 10:31 AM
populate combo-boxs and listbox ez BOOK: Beginning Access VBA 1 June 8th, 2004 12:59 PM
Listbox doesn't populate all the records edcaru Access 1 April 25th, 2004 10:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.