Hi
Ich hab mal wieder 2 Fragen:
1. Ich habe für einen Freund ein Programm erstellt, und bei mir läuft es auch super und alles, aber wenn ich ihm das Programm schicke und er es starten will, kommt: Keine zulässige Win32 Anwendung.
Ich hab ihm die 32Bit und 64Bit Version geschickt. Beides ging nicht.
2. Ich will einen Updater für meine Scripts machen aber der will nicht so wie ich will, dass er soll :P
Ich hoffe, dass ihr mir helfen könnt.
mfg poll7979
Ich hab mal wieder 2 Fragen:
1. Ich habe für einen Freund ein Programm erstellt, und bei mir läuft es auch super und alles, aber wenn ich ihm das Programm schicke und er es starten will, kommt: Keine zulässige Win32 Anwendung.
Ich hab ihm die 32Bit und 64Bit Version geschickt. Beides ging nicht.
2. Ich will einen Updater für meine Scripts machen aber der will nicht so wie ich will, dass er soll :P
PHP Code:
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Global $iSize, $geladen, $fortschritt
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Updater", 377, 65, 192, 124)
$Progress1 = GUICtrlCreateProgress(8, 32, 353, 25)
$Label2 = GUICtrlCreateLabel(@InetGetBytesRead&" von "&$iSize&" KB geladen", 8, 8, 355, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$iSize = InetGetSize("http://url.de/script.exe")
InetGet("http://url.de/script.exe")
$fortschritt = 100* @InetGetBytesRead / $iSize
While @InetGetActive
$fortschritt = 100* @InetGetBytesRead / $iSize
GUICtrlSetData($Progress1,$fortschritt)
GUICtrlSetData($Label2,@InetGetBytesRead&" von "&$iSize&" KB geladen")
WEnd
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
mfg poll7979