Skip to content

VistaOpenFileDialog.InitialDirectory gets ignored #8

Open
@soulflyman

Description

@soulflyman

Initializing a dialog with the property InitialDirectory set to a local and existing folder is ignored.
The Dialog always shows the last folder where a file was opened.

 VistaOpenFileDialog dialog = new VistaOpenFileDialog();
 dialog.Filter = "JSON Dateien (*.json)|*.json";
 dialog.InitialDirectory = "C:\\";

Expected behaviour:
The VistaOpenFileDialog always schow the content of C:\ when InitialDirectory is set to "C:\".

Windows 10 Pro 1903 / .Net Framework 4.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions