Jump to content
Sign in to follow this  

Create Child server.exe from Main GUI application. Using FileInstall()

Recommended Posts



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)
#EndRegion ### END Koda GUI section ###

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


Please Kindly help.

Edited by mattey

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