Sign in to follow this  
Followers 0
Webcreation

GUI picture

4 posts in this topic

So i made a GUI with an image on it, how will when people download this see the image since its not on their computer..

I also am going to make this GUI. into an .EXE so thanks in advance!

This is my code; its all about line 7 (c:users.....)

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("THIS IS THE INSTRUCTION SCREEN", 748, 539, 299, 102)
$Pic1 = GUICtrlCreatePic("C:\Users\Sabbih\Desktop\website\Setupscreen2.jpg", -17, 0, 764, 556)

GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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


    EndSwitch
WEnd

Share this post


Link to post
Share on other sites



Aha, so i should add a .bmp3 file to the map which will be downloaded.

Because i will be uploading a whole map with several scripts. Which can be run seperatly.

Note please im a noob at autoit! Thanks for the link it helped me!

Share this post


Link to post
Share on other sites

No, you can use a local bitmap (jpg, png, gif, bmp, etc. which is supported by GDI+) and add it to your script using ResourceEx.au3 or embedd it as a binary string.

Just take some time and check out the suggestion made in that thread (post#3 and #5).

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0