I managed to use _icon using the following code but I had to use Paint to convent the .ico to a .bmp file:
https://qb64phoenix.com/qb64wiki/index.php/LOADIMAGE
NOTE: Icon files are not supported with _LOADIMAGE and an error will occur.
Code: (Select All)
' set title icon
i& = _LoadImage("SIC64.BMP", 32)
If i& < -1 Then
_Icon i&
_FreeImage i&
End If
NOTE: Icon files are not supported with _LOADIMAGE and an error will occur.