Jump to content

Recommended Posts

Posted (edited)

Okay,

Here is my problem. I created a GUI that i want to do something for me.
I made an application that i want to communicate with a PHP server. What it has to do is to gather information and transmit data using http request to a server.

I have already made some functions which i have included in the application. What i want it to do is  the following


1. Once i click the button "Create Child Server" it creates a smaller executable File that uses the newly created functions : #include <pcInfo.au3>,#include <tetiary.au3> as well as other functions to perform a task.

I was thinking, Can i use File install to compile the whole scripts together with au2exe.exe and generate a single exe?

Maybe i am not quite good with the terminologies i should use, i believe you should have an idea of what i am saying..
 

Here is my source code of what i am saying

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Inet.au3>
#include <pcInfo.au3>
#include <tetiary.au3>


#Region ### START Koda GUI section ### Form=C:\Documents and Settings\USER\Desktop\Forms\Form1.kxf
$Form1 = GUICreate("Form1", 337, 189, 192, 124)
$Input1 = GUICtrlCreateInput("Input1", 128, 48, 177, 21)
$Label1 = GUICtrlCreateLabel("Enter CP URL", 48, 48, 71, 17)
$Button1 = GUICtrlCreateButton("Create Child Server", 48, 104, 99, 25)
$Button2 = GUICtrlCreateButton("Exit", 176, 104, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

    EndSwitch
WEnd

Please Kindly help.

Edited by mattey

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
  • Recently Browsing   0 members

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