Custom Icon for PowerShell WPF App

Custom Icon for PowerShell WPF App

In this article, I'll be talking about how to use a custom icon for your PowerShell GUI.

By default, running your PowerShell script that shows a WPF UI, the titlebar of your app will use a default PowerShell Icon, like the one shown below.

PS_App_Icon_default

Thankfully you can change this, using some simple code...

21st Feb 2024
Powershell: Radio Button Events

Powershell: Radio Button Events

In this tutorial I show how to setup events for Radio Buttons for a WPF GUI, and I also show how you can enable/disable other controls using the radio buttons as toggles.

The first thing we need is a WPF form to play around with. Let's create the following:

wpf_radio_events

You can see this simple form is just...

19th Feb 2024
Using Images in Flutter

Using Images in Flutter

I made a tutorial on how to use Images in a Flutter app. It's a pretty basic thing to do, but still worth understating. I show how to use a local image and a network one.

6th Feb 2024
Python: Creating Folders and Modifying their Dates

Python: Creating Folders and Modifying their Dates

I recently had a need to make a simple application that created a series of folders, which normally isn't hard, but I had one requirement, which was to make the folder's create and modification dates specific.

So, how to create the folders. In python, it's simple enough to just use the os library'...

5th Feb 2024
WPF Scrolling TextBox

WPF Scrolling TextBox

In my recent adventures in PowerShell scripting, I needed to create a GUI for my large script. This was inevitable, since my console input prompts started to become extensive and unwieldy. In my course of GUI development I found Windows Presentation Foundation (WPF) to be a good way to build a UI wi...

31st Jan 2024