# Can't drag files into ListBox in Windows

**URL:** <https://forum.xojo.com/t/cant-drag-files-into-listbox-in-windows/62711>\
**Category:** General\
**Created:** [April 14, 2021, 10:24am UTC](https://forum.xojo.com/t/cant-drag-files-into-listbox-in-windows/62711 "2021-04-14T10:24:03Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [April 14, 2021, 11:31am UTC](https://forum.xojo.com/t/cant-drag-files-into-listbox-in-windows/62711/8 "2021-04-14T11:31:14Z")

</div>

The previous question on that very same question:

> [@Desktop File Types Query](https://forum.xojo.com/t/desktop-file-types-query/62621/5):
>
> Thank you @Emile_Schwarz , Yes I will open a bug report, I just thought maybe I’m doing something wrong…

I understand.

What if your user drop a file named Thumbs.db ?  
Or Desktop.ini or…

I am sorry.

You may refector your application and simply display all files in a ListBox and let the user choose from there the files (s)he needs to work with.

Doing so avoid the file type current mess (by pass it).

You only have to use a folder and load its contents by iterate it (For i = 1 to File\_Count…)

---

_[View the full topic](https://forum.xojo.com/t/cant-drag-files-into-listbox-in-windows/62711)._
