Не получается добавить картинку в exe
Код:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
;#AutoIt3Wrapper_Res_File_Add=1.bmp, 2, 200
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ;
#include <StaticConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>
#include <Excel.au3>
#Include <WinAPIEx.au3>
;#Include <Icons.au3>
$VSV = GUICreate("VSV",378,382,-1,-1,-1,-1)
$BGimage = GUICtrlCreatePic("C:\xxx\картинка\пример\1.bmp",0,0,378,382,$WS_CLIPSIBLINGS)
guictrlsetstate(-1,$GUI_DISABLE)
$kakoc = GUICtrlCreateButton("кАКОС",138,30,100,30,-1,$WS_EX_STATICEDGE)
GUICtrlSetState(-1,BitOr($GUI_SHOW,$GUI_ENABLE,$GUI_FOCUS))
GUICtrlSetFont(-1,12,700,2,"Arial")
$otchet = GUICtrlCreateButton("Отчет кАКОС",120,78,136,30,BitOr($BS_DEFPUSHBUTTON,$BS_MULTILINE,$WS_BORDER),$WS_EX_STATICEDGE)
GUICtrlSetState(-1,BitOr($GUI_SHOW,$GUI_ENABLE,$GUI_FOCUS))
GUICtrlSetFont(-1,12,700,2,"Arial")
$poisk = GUICtrlCreateButton("Поиск Документов",98,126,180,30,BitOr($BS_CENTER,$BS_DEFPUSHBUTTON,$BS_MULTILINE,$WS_BORDER),$WS_EX_STATICEDGE)
GUICtrlSetState(-1,BitOr($GUI_SHOW,$GUI_ENABLE,$GUI_FOCUS))
GUICtrlSetFont(-1,12,700,2,"Arial")
GUISetState(@SW_SHOW,$VSV)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Sleep(1000)
EndSwitch
WEnd