Visual Basic and Windows Settings App

~OSD~ 2,196 Reputation points
2020-10-06T12:04:42.853+00:00

Hi,

Is it possible to open /navigate the Windows 10 Settings using VB.Net?

I have tried using SHELL as:

Shell("start ms-settings: activation", AppWinStyle.MaximizedFocus, False, 0)

And Process.Start () but both didn't worked.

Process.Start("start ms-settings:activation")

Several settings's URI are listing here:
https://4sysops.com/wiki/list-of-ms-settings-uri-commands-to-open-specific-settings-in-windows-10/

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,206 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 85,956 Reputation points
    2020-10-06T12:17:02.11+00:00

    One of the ways :

    Dim psinfo As New ProcessStartInfo("explorer")
    psinfo.Arguments = "ms-settings:activation"
    Process.Start(psinfo)
    
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. ~OSD~ 2,196 Reputation points
    2020-10-07T08:23:40.03+00:00

    Worked fine, thanks.

    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.