troubleshooting Question

OpenFileDialog not listing files in order they were selected

Avatar of LongDave
LongDave asked on
Programming Languages-OtherVisual Basic ClassicVisual Basic.NET
2 Comments1 Solution396 ViewsLast Modified:
Hi, Experts -

This is VB.NET, VS2005

I have an OpenFileDialog box. It is set to allow multiple selections. I select files in this order:
"Fleming Library.dwg"
"Retail Store.dwg"
"097865.dwg"
"oldcontrol.dwg"

However, in the files listed, it lists as :
"oldcontrol.dwg"
"Retail Store.dwg"
"097865.dwg"
"Fleming Library.dwg"

In other words, "Retail Store" and "097865" get swapped. Is there any way of having the OpenFileDialog output these in the order they were entered? (or even the reverse order, as long as it's truly the reverse of what I entered!)

Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
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