dangr82 Posted January 31, 2012 Posted January 31, 2012 Hi, How can i insert a banner (from URL) into GUI... I've tried with GuiObjcreate, shell.explorer, etc... but i would like to view only the banner not a webpage.
dangr82 Posted January 31, 2012 Author Posted January 31, 2012 Yes, tipical banner 300x250, .png or jpeg
Mikeman27294 Posted February 1, 2012 Posted February 1, 2012 Ok, what you want to do is use InetGet to save it to the temp directory, like so: $URL = 'http://images4.wikia.nocookie.net/__cb20100218225530/unanything/images/9/99/Google-logo.jpg' InetGet($URL, @TempDir&'Banner.jpg');Make sure to save it with the same file extension as the file you are downloading. GUICreate('How to make a Banner', 300, 120) GUICtrlCreatePic(@TempDir&'Banner.jpg', 0, 0, 300, 120) GUISetState() While 1 If GUIGetMsg() = -3 Then Exit WEnd
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