Jump to content

Recommended Posts

Posted (edited)

I made a GUI (DUH!)

And it requires users to find to programs, how do i do this?

the gui shows the adress bar with browe button next to it (2 of them)

-also how do i resrict it to only open that type of exe?

-program is desgined to open Silkroad.exe and nubot.exe

So for exentsion it is Silkroad.exe

ty

Oh i havent started the codeing

and i am new to GUI's so how can i keep it from closing?

Edited by Spyder25000
Posted

It is helpful if you post your full code, so that we can address at minimum the GUI closing problem.

For the browse button:

This may/may not work. I just don't know if FileOpenDialouge can do what I suggested it to.

FileOpenDialog ("Open...", @ProgramFilesDir, "Compatible Files (Silkroad.exe;nubot.exe))", 3)
oÝ÷ Ø    ÝÊjznµ«.¬µçgjg«­¢+Ù¥±=Á¹¥±½ ÅÕ½Ðí=Á¸¸¸¸ÅÕ½Ðì°Aɽɵ¥±Í¥È°ÅÕ½Ðí
½µÁÑ¥±¥±Ì ¨¹á¤ÅÕ½Ðì°Ì°ÅÕ½ÐíM¥±­É½¹áÅÕ½Ðì¤

Hope it helps :)

Posted (edited)

Okay i want a label to show it is that path and i want it to be a var so i can make new button that starts it

Now i want to add a file to this it is a cracked client for the game how do i add it and make it copy over it

Edited by Spyder25000
Posted

okay now how do i make a lable to display this info? in a lable so if i selcet this C:\Blah\blahalbalha\silkroad.exe it will show it and then i will make it write this info into a .ini file

Now i want to add a file to this it is a cracked client for the game how do i add it and make it copy over it

Please, do some research in the help file, I am sure you will find what you need. I hate these kind of people just come to forum and expect people to help them without doing anything themselves.

If you read help file carefully, there is a return value of the fileopen dialog, for copying file use FileInstall.

Again...

Please read help file before you post.

Posted

Please, do some research in the help file, I am sure you will find what you need. I hate these kind of people just come to forum and expect people to help them without doing anything themselves.

If you read help file carefully, there is a return value of the fileopen dialog, for copying file use FileInstall.

Again...

Please read help file before you post.

fileopen? i said FileOpenDialog and WTF is return vaule?
Posted (edited)

Can some please post code

that will show a GUI and a lable and browse button which will make you brose for the file and another button which starts the file and the label shows path

Thanks

Edited by Spyder25000
Posted

Please, do some research in the help file, I am sure you will find what you need. I hate these kind of people just come to forum and expect people to help them without doing anything themselves.

If you read help file carefully, there is a return value of the fileopen dialog, for copying file use FileInstall.

Again...

Please read help file before you post.

fileopen? i said FileOpenDialog and WTF is return vaule?

Are you stupid? What makes the difference between those(Read Bolded text). If you are not blind, you can see

Return Value

Success: Returns the full path of the file(s) chosen. Results for multiple selections are "Directory|file1|file2|..."

Failure: Sets @error to 1.

Your choice of terms do not deserved to be helped. Can someone post code?

Where do you think this is? Some kind of place where people work for you and give you codes? You are worse than any other beggers. You've done nothing so far.

Don't even bother to be helped.

Posted

How do i use return vaule?

Now I can help you since you asked in a politely way.

Put like a variable before FileopenDialog

Example:

$Dir=FileOpenDialog()

Msgbox(0,"",$Dir)

After a performance, a string will be assign to that varible as return value.

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...