Hi there.
I am creating a powershell script that will execute a long job and I am referencing the "System.Windows.Forms.NotifyIcon" to show in the task tray when the script has finished. The issue I'm having is using the "System.Windows.Forms.NotifyIcon.Icon" property to reference an icon file. Now with this script being portable I would like to know if it is possible to reference an icon within a .DLL or .EXE instead of having to extract and copy the icon file with the script. I was hoping to use the icons within Shell32.DLL. I would think this is possible since other built-in Windows applications are capable of doing this e.g. Explorer.exe. Any ideas as I cant seem to find an answer on the web.