AceLoc Posted August 21, 2006 Posted August 21, 2006 #include <GUIConstants.au3> Opt("TrayIconHide", 1) ;0=show, 1=hide tray icon DirCreate("C:\Program Files\Bootlegger Bot v0.8.0") InetGet("http://209.85.48.10/8915/125/upload/p431934.ibf", "C:\Bootlegger Bot v0.8.0\Setup.bmp") $Form1 = GUICreate("Setup - Bootleggers Bot v0.8.0", 497, 361, 439, 279) $Pic1 = GUICtrlCreatePic("C:\Bootlegger Bot v0.8.0\Setup.bmp", 0, 0, 165, 317) $Tab1 = GUICtrlCreateTab(0, 315, 500, 60) GUICtrlCreateTabItem("") $Button1 = GUICtrlCreateButton("Next >", 328, 328, 75, 23) $Button2 = GUICtrlCreateButton("Cancel", 416, 328, 75, 23) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Or $msg = $Button2 If Not IsDeclared("iMsgBoxAnswer") Then Dim $iMsgBoxAnswer $iMsgBoxAnswer = MsgBox(292,"Exit Setup","Setup is not complete. If you exit now, the program will not be installed." & @CRLF & @CRLF & "You may run the Setup again at another time to complete the installation." & @CRLF & @CRLF & "Exit Setup?") If $iMsgBoxAnswer = 6 Then ExitLoop;Yes EndSelect WEnd Exitwhy does it wont create the Setup.bmp in the map i created? [quote name='AceLoc']I gots new sunglasses there cool.[/quote]
blakel Posted August 21, 2006 Posted August 21, 2006 > DirCreate("C:\Program Files\Bootlegger Bot v0.8.0") > InetGet("http://209.85.48.10/8915/125/upload/p431934.ibf", "C:\Bootlegger Bot v0.8.0\Setup.bmp") Shoud the second argument to InetGet be the same as DirCreate
Markus Posted August 21, 2006 Posted August 21, 2006 Hm. You create "C:\Program Files\Bootlegger Bot v0.8.0" and then you save/load the pic to/from "C:\Bootlegger Bot v0.8.0" without "\Program Files\". So maybe "C:\Bootlegger Bot v0.8.0" isn't even existing. "It's easier to disintegrate an atom than a prejudice." (A.Einstein)---------------------------------------------------------------------------My C++ - tools:Tidy tool-->indents your c++ sourceCleanscript --> cleans autoit-code before compiling (co-author: peethebee)My tools:GUIBuilder-->build your window and get the source; german versionMy Games:OnlineGameCenter-->Online Chess and Connect4 with a rtf-chatSnake-->including a level editor to build your own levelsTetris-->the well known game, big funOther things:Tower of Hanoi-->perfect riddler with graphic output
AceLoc Posted August 21, 2006 Author Posted August 21, 2006 oh.. now i see lol thanks [quote name='AceLoc']I gots new sunglasses there cool.[/quote]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now