JohnRichard Posted April 13, 2009 Share Posted April 13, 2009 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted April 13, 2009 Developers Share Posted April 13, 2009 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 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 More sharing options...
JohnRichard Posted April 14, 2009 Author Share Posted April 14, 2009 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.Joshi 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. Link to comment Share on other sites More sharing options...
Kurto2021 Posted April 14, 2009 Share Posted April 14, 2009 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 mineFunc 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) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now