Jump to content

Recommended Posts

Posted

HI all. I am trying to create a sort of VNC GUI. I have this inputbox to type the PC name or IP of the PC to connect. My problem is, i want the PC names to be remembered on the inputbox when i open the GUI again. Is this possible?

thanks to any help.

Posted

Just save the information in an INI and everytime you start you read this information from the INI and present it as the default value in the InputBox.

Jos

hi Jos. thanks for that. But i haven't tried using INI. Would you mind to have simple example using an INI.

Sorry if i bother you.

Posted

hi Jos. thanks for that. But i haven't tried using INI. Would you mind to have simple example using an INI.

Sorry if i bother you.

I used this on mine

Func OnAutoItExit()

IniWrite("Dev.ini", "State", "key", $State)

IniWrite("Dev.ini", "System", "key", $System)

IniWrite("Dev.ini", "Year", "key", $Year)

IniWrite("Dev.ini", "Custom1", "key", $CustVar)

IniWrite("Dev.ini", "Custom2", "key", $CustVar2)

IniWrite("Dev.ini", "Custom3", "key", $CustVar3)

IniWrite("Dev.ini", "Custom4", "key", $CustVar4)

IniWrite("Dev.ini", "Path1", "key", $Path1)

IniWrite("Dev.ini", "Path2", "key", $Path2)

IniWrite("Dev.ini", "Path3", "key", $Path3)

IniWrite("Dev.ini", "Path4", "key", $Path4)

IniWrite("Dev.ini", "Override", "key", $Override)

IniWrite("Dev.ini", "Primary File", "key", $WrkFileOvr)

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
×
×
  • Create New...