Declare an .ico file
#1
Using this code produces an error when icon file does not exist.

Code: (Select All)
' set title icon
If _FileExists("sic64.ico") Then
  $ExeIcon:'sic64.ico'
  _Icon
End If
_Title "SICK64"

what am i doing wrong?

Erik.
Reply


Messages In This Thread
Declare an .ico file - by eoredson - 03-28-2023, 01:49 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 02:02 AM
RE: Declare an .ico file - by bplus - 03-28-2023, 02:10 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 02:19 AM
RE: Declare an .ico file - by dbox - 03-28-2023, 03:50 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 04:02 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 04:33 AM
RE: Declare an .ico file - by TempodiBasic - 03-28-2023, 01:51 PM
RE: Declare an .ico file - by Petr - 03-28-2023, 02:25 PM
RE: Declare an .ico file - by eoredson - 03-28-2023, 10:06 PM
RE: Declare an .ico file - by Petr - 03-29-2023, 09:46 AM
RE: Declare an .ico file - by eoredson - 03-28-2023, 11:34 PM
RE: Declare an .ico file - by mnrvovrfc - 03-29-2023, 11:25 AM
RE: Declare an .ico file - by eoredson - 03-30-2023, 02:05 AM
RE: Declare an .ico file - by eoredson - 03-30-2023, 05:23 AM



Users browsing this thread: 7 Guest(s)