Skip to content

Instantly share code, notes, and snippets.

View stryqx's full-sized avatar

Chris Knight stryqx

  • Tasmania
View GitHub Profile
@stryqx
stryqx / servercore-filedialog-support.cs
Created May 1, 2022 10:42
Server Core support for OpenFileDialog/SaveFileDialog - C# Snippet
// Code based on the code provided by @kpreisser here - https://github.com/microsoft/dotnet-framework-early-access/issues/23#issuecomment-393134611
// Add COMException support
using System.Runtime.InteropServices;
// Upgrade any of the following:
// if (xxx.ShowDialog() == DialogResult.OK)
// to use the following instead:
System.Windows.Forms.DialogResult result;
try
@stryqx
stryqx / AppxPackages.json
Created May 20, 2025 03:43
VDOT Modified AppxPackages.json file
[
{
"AppxPackage": "Bing Search",
"VDIState": "Unchanged",
"URL": "https://apps.microsoft.com/detail/9nzbf4gt040c",
"Description": "Web Search from Microsoft Bing provides web results and answers in Windows Search"
},
{
"AppxPackage": "Clipchamp.Clipchamp",
"VDIState": "Unchanged",