I’m a newbie trying to build my first GUI application. I’ve been looking through the website, Googling the web, and I haven’t found an answer to my question. If this has been asked and answered previously, I apologize for missing it.


Basically, I’m trying to implement a dual listbox interface quite similar to what Eric Hansen wrote about in 1999. What I can’t find anywhere is how to fill the left listbox with the files in a given directory, although the closest I found was a tutorial in VB out on the web. I’m trying to use the methods Dir and AddFile, but something’s not working. I can’t figure out what the Dir method is supposed to return, nor what parameters/arguments to send. I try AddFile and my app crashes. I can make AddString work, though.


Some sample code or guidance to point me in the right direction would be greatly appreciated.


I’m using Perl 5.8.8 and Win32::GUI 1.06.





Brian Somers

Information Systems Support Technician