OpenFileDialog returns the string of the path the user has selected using the open file dialog.
Syntax: |
---|
completeFilePath = OpenFileDialog( [filter extension], [file Name], [start path] ) |
Parameter: |
Description: |
---|---|
[filter extension] |
Optional: This is for filter extensions, like .exe, .txt or .csv |
[file Name] |
Optional: Use this field for the file name to find. |
[start path] |
Optional: Use the path field to specify where the dialog will open a disk location. |
Example: |
---|
' The filter extensions are a paired string separated by a |. "Text Files|*.txt;*.csv"
You can set multiple filters such as: "Text Files|*.txt|CSV Files|*.csv" PRINT OpenFileDialog( "Text Files|*.txt;*.csv", "orders.txt", fileManager.DefaultFolder ) |
Returns: |
When this function is working, a Windows file dialog will appear. |
Links: |
---|
See Also: |
|
Edit Time: 10/23/2020 10:32:08 AM |
Topic ID#: 441 |