troubleshooting Question

Listbox Sort question

Avatar of Winston Smith
Winston SmithFlag for Canada asked on
Visual Basic Classic
2 Comments1 Solution184 ViewsLast Modified:
I am trying to order a list of files from a folder and display them in my app in descending order using a listbox is an intermediary to sort the files quickly. The problem is that all the file are created sequentilly in the source 42_test-1.jpg.
The listbox will sort them no problm until we reach the number 10 (after the dash), where it is sorted to occur right after the 1.

Is there another way to name the files to make sorting easier or is there another type of sort i should use?
Thanks in advance

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros