devxlogo

List of files in a directory

Question:
I need a way of letting the user pick a file name or names from a list. I would prefer this not to be in a dialog box. In VB I can use a file list box or the DIR command; neither of these are available in OPO. Can you help me?

Answer:
By your reference to Visual Basic, I assume you are using Power Objects ona Windows platform. If this is correct, you can use the new CSList OCX,which is part of OPO Version 2.0. This OCX gives you thecomplete list box functionality you are looking for.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Seven Service Boundary Mistakes That Create Technical Debt

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.