[HELP] hilfe bei AutoIt ! (bilder einfügen)

04/23/2010 14:24 XxFratziXx#1
hi @ all

ich benutze koda FormDesigner

naja bin dabei ein programm zu coden... hab aber dabei eine kleine frage:

ein kleines beispiel wie ich es normalerweise mache:

PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"269226192124)
$Pic1 GUICtrlCreatePic("C:\Users\Sandro\Desktop\bild1.jpg"7224100100BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit

    EndSwitch
WEnd 
aber geht dies auch dass man das bild nicht mitsenden muss....?
also dass das bild quasi in diesem script drinn ist...?

denn es nervt echt immer das bild mit zu senden....
04/23/2010 14:59 iDunnoi#2
PHP Code:
If @Compiled Then FileInstall("C:\Users\Sandro\Desktop\bild1.jpg", @ScriptDir "\bild1.jpg"0
sollte helfen^^
also wenn dus compilest dann wird des bild automatisch hinzugefügt
04/23/2010 15:35 FrEakY.#3
Quote:
Originally Posted by Mysthik Ftw View Post
PHP Code:
If @Compiled Then FileInstall("C:\Users\Sandro\Desktop\bild1.jpg", @ScriptDir "\bild1.jpg"0
sollte helfen^^
also wenn dus compilest dann wird des bild automatisch hinzugefügt
^^This und wenn du machenwillst, dass Button AUF dem Bild sind, brauchst du :
PHP Code:
GUICtrlSetState(-1,$GUI_Disable
04/23/2010 15:36 XxFratziXx#4
thx :)