<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: List files in one folder</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=69b07411-fac5-4626-bb6d-8928d78b779d" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=69b07411-fac5-4626-bb6d-8928d78b779d</link>
<description>DisplayFusion RSS: List files in one folder</description>
<lastBuildDate>Sun, 19 Apr 2026 10:49:26 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=69b07411-fac5-4626-bb6d-8928d78b779d</generator>
<item>
<title>RE: List files in one folder</title>
<link>https://www.displayfusion.com/Discussions/View/list-files-in-one-folder/?ID=69b07411-fac5-4626-bb6d-8928d78b779d#2</link>
<pubDate>Wed, 17 Oct 2018 14:02:34 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/list-files-in-one-folder/?ID=69b07411-fac5-4626-bb6d-8928d78b779d#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[I succeeded in solving my question: this is the code, perhaps it could be useful to somebody:
Imports System
Imports System.Drawing
Imports System.IO
' The 'windowHandle' parameter will contain the window handle for the:
'   - Active window when run by hotkey
'   - Trigger target when run b...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I succeeded in solving my question: this is the code, perhaps it could be useful to somebody:<br/>
<br/>
Imports System<br/>
Imports System.Drawing<br/>
Imports System.IO<br/>
<br/>
' The 'windowHandle' parameter will contain the window handle for the:<br/>
'   - Active window when run by hotkey<br/>
'   - Trigger target when run by a Trigger rule<br/>
'   - TitleBar Button owner when run by a TitleBar Button<br/>
'   - Jump List owner when run from a Taskbar Jump List<br/>
'   - Currently focused window if none of these match<br/>
Public Class DisplayFusionFunction<br/>
<br/>
    Public Shared Sub Run(ByVal windowHandle As IntPtr)<br/>
        Dim myFilesArray() as String<br/>
        Dim myFileName as String<br/>
        Dim B as Boolean<br/>
        <br/>
        B = False<br/>
<br/>
        <br/>
        While not B<br/>
            myFilesArray = directory.getfiles("put the folder path here")<br/>
            For Each myFileName in myFilesArray<br/>
                BFS.Dialog.ShowMessageInfo(myFileName)<br/>
            Next<br/>
        <br/>
           B = BFS.Dialog.GetUserConfirm("Stop the application?")<br/>
        End While<br/>
        <br/>
    End Sub<br/>
<br/>
End Class
</div>
]]></content:encoded>
</item>
<item>
<title>List files in one folder</title>
<link>https://www.displayfusion.com/Discussions/View/list-files-in-one-folder/?ID=69b07411-fac5-4626-bb6d-8928d78b779d</link>
<pubDate>Tue, 16 Oct 2018 15:23:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/list-files-in-one-folder/?ID=69b07411-fac5-4626-bb6d-8928d78b779d</guid>
<category>DisplayFusion</category>
<description><![CDATA[I need to create a function that lists the names of all the files (perhaps using wildcards) contained in one folder.
Is it possible? Any suggest please?
In Visual Basic if possible
Thank you]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I need to create a function that lists the names of all the files (perhaps using wildcards) contained in one folder.<br/>
Is it possible? Any suggest please?<br/>
In Visual Basic if possible<br/>
Thank you
</div>
]]></content:encoded>
</item>
</channel>
</rss>