in reply to Set Icon
Win32 Console code below:Thanks in advance!sub icon { my $sIcon = Win32::Console::SetIcon("logo.gif"); }
According to the Win32::Console documentation, a *.ico file is required not a *.gif file and the syntax is:
so I would try something like....$CONSOLE->SetIcon("C:/My/Path/To/Custom.ico");
or...my $CONSOLE = Win32::Console->new; $CONSOLE->SetIcon('C:/myIcon.ico');
These are untested but might provide you with some some progress!Win32::Console->SetIcon('C:/myIcon.ico');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Set Icon
by pryrt (Abbot) on Dec 24, 2020 at 00:06 UTC | |
by Bod (Parson) on Dec 24, 2020 at 00:14 UTC | |
by pryrt (Abbot) on Dec 24, 2020 at 00:53 UTC | |
by Bod (Parson) on Dec 24, 2020 at 11:50 UTC | |
by PilotinControl (Pilgrim) on Dec 24, 2020 at 03:37 UTC |