Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > display the content of an array

Thread Tools Display Modes
Old 12-02-2003, 01:22 AM
noccy noccy is offline
Join Date: Jun 2003
Location: Oslo, Norway
Posts: 602
Default display the content of an array


I have an array called aryFiles.

Is there a way to display the content of this array in a control on a form?

Can an array be used as a control source for a list?

Reply With Quote
Old 12-02-2003, 03:28 AM
mark007's Avatar
mark007 mark007 is offline
Licensed to post

* Expert *
Join Date: Jul 2003
Location: York, Uk
Posts: 1,637

Yes use a listbox and set the 'list' property I think equal to the array. Sorry I can't be more specific as I don't have VB on this PC and the VBA listbox is slightly different (is Rowsource) - why they couldn't be more consistent I don't know!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standards and Practices loquin Tutors' Corner 10 07-28-2006 12:16 PM
Write 2D array to a file Dolptrmn File I/O and Registry 4 11-08-2003 08:42 PM
Help with arrays?? DTFan General 5 07-14-2003 12:01 PM
Array and String Functions rhawke General 5 07-10-2003 02:33 AM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..