Jump to content

Help With GUI


Recommended Posts

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

Link to comment
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!"

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...