Link to home
Create AccountLog in
Avatar of LongDave
LongDave

asked on

OpenFileDialog not listing files in order they were selected

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!
ASKER CERTIFIED SOLUTION
Avatar of MijaeDjinn
MijaeDjinn
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of LongDave
LongDave

ASKER

Thanks! I was waiting to see if anyone else could contribute, but it looks like I'm stuck with this. :)