.NET Framework FileDialog View Options vs File Explorer View Options

Sani Love 160 Reputation points
2023-12-16T07:22:23.83+00:00

Hello

It seems that View Options are different for Windows File Explorer vs .NET Framework FileDialog.

View / Sort By / Group By

Are already set in Explorer and applied to all folders, but when I open some .NET apps' FileDialog, they're showing files with different View Options.

I know can set it from inside FileDialog and it will be set, but my question is there where's the registry address for these view options of FileDialog:

View / Sort By / Group By

Need to generate a reg file for my custom view options.

Thanks.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,835 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,206 Reputation points Microsoft External Staff
    2023-12-18T07:49:56.7566667+00:00

    Hi @Sani Love ,

    There isn't a straightforward registry setting that directly controls the view options (View, Sort By, Group By) within the .NET Framework's FileDialog. These settings are typically specific to the application and may not be directly accessible or modifiable through the Windows Registry.

    You can choose to configure them in the app's settings.

    Or write a method for your app to read the corresponding properties from its own registry.

    Best Regards.

    Jiachen Li


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.