Sign in to follow this  
Followers 0
Abdullah

Help With GUI

4 posts in this topic

Can anyone please tell me why this code is not working that I wrote??

I need help.. I am new...

And I don't know what to do..

#include <INet.au3>

#include <GuiButton.au3>

#include <GuiToolBar.au3>

#include<GuiConstantsEx.au3>

$YourIP = _GetIP ()

GUICreate("IP finder", 318, 84, 294, 169)

$button1=GUICtrlCreateButton("Get Ip " , 201, 43, 82, 30)

$input1=GUICtrlCreateInput( " ", 17, 31, 138, 20)

$labell=GUICtrlCreateLabel( "The IP will be displayed here", 19, 14, 204, 15)

GUISetState(@SW_show)

While 1

If $msg=$button 1 Then button1 ()

WEnd

Func button1 ()

GUICtrlSetData($input1,$YourIP)

MsgBox(0, "Abdullah", "You just your IP")

EndFunc

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

There was a somewhat helpful response here.

Unfortunately I made the post before I saw the PM notification..

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

I've already explained to him that asking for help via PM is not generally acceptable. I also pointed out the main problem with the code and I see that still hasn't been fixed so i think I'll just sit back and watch for a while.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Can anyone please tell me why this code is not working that I wrote??

I need help.. I am new...

And I don't know what to do..

We do not help people like you.

You get 3 days to calm down and rethink your approach to these forums which is Not to create threads like this or start PMing people for help

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0