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');
In reply to Re: Set Icon
by Bod
in thread Set Icon
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |