je viens de creer une interface graphique avec Koda que j'ai exportè vers autoit script.
Mon probleme:
si j'execute mon .exe dans la machine ou est cree mon script l'image attachèe à GUICtrlCreatePic apparait normal dans ma fenetre.
mais lorsque j'importe mon exe vers une autre machine l'image n' apparait pas, car il ne trouve pas le chemin de l' image que j'ai indiquè.
Est ce qu'il y a une solution pour integrer les images et les icones aussi dans notre .exe, comme on fait avec fileinstall.
Code : Tout sélectionner
#region ### START Koda GUI section ### fenetre 1 == premiere fenetre
$Form1_1 = GUICreate("Titre", 600, 450, 300, 135)
GUISetIcon("E:\logiciel\ico.ico", -1)
$Pic1 = GUICtrlCreatePic("E:\logiciel\ScreenShot008.jpg", 0, -3, 201, 377)
$Label3_1 = GUICtrlCreateLabel("This wizard will guide you through the installation of .............", 216, 112, 340, 17)
$Label4_1 = GUICtrlCreateLabel("It is recommended that you close all other applications befor starting Setup.", 216, 152, 356, 17)
$Label7_1 = GUICtrlCreateLabel("This will make it possible to update relevant system files without having ", 216, 192, 339, 17)
$Label8_1 = GUICtrlCreateLabel("to reboot your computer.", 216, 232, 119, 17)
$Label5_1 = GUICtrlCreateLabel("Click Next to continue", 216, 312, 108, 17)
$Button1_1 = GUICtrlCreateButton("Next >", 408, 408, 81, 25)
$Button2_1 = GUICtrlCreateButton("Cancel", 512, 408, 81, 25)
$Group1_1 = GUICtrlCreateGroup("Message", 0, 392, 609, 65)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Label1_1 = GUICtrlCreateLabel("Welcome to the InstallShild ", 208, 8, 363, 33)
GUICtrlSetFont(-1, 18, 400, 0, "MS Sans Serif")
$Label6_1 = GUICtrlCreateLabel("Setup Wizard", 208, 48, 147, 33)
GUICtrlSetFont(-1, 18, 400, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#endregion ### END Koda GUI section ###