07-24-2023, 12:34 PM
I have a `TextBox` named `textbox1` and a `Button` named `button1`.
When I click on `button1` I want to browse my files to search only for image files (type jpg, png, bmp...).
And when I select an image file and click Ok in the file dialog I want the file directory to be written in the `textbox1.text` like this:
textbox1.Text = "C:\myfolder\myimage.jpg"
When I click on `button1` I want to browse my files to search only for image files (type jpg, png, bmp...).
And when I select an image file and click Ok in the file dialog I want the file directory to be written in the `textbox1.text` like this:
textbox1.Text = "C:\myfolder\myimage.jpg"