Jump to content

Recommended Posts

Posted (edited)

1st you have not populated your combobox.. you need to

$vak1 = GUICtrlCreateCombo("", 100, 37, 60, 20)
GUICtrlSetData(-1,"PTT|TVF|EDS|WDS|HKP|PSD|PWH|NET")

then after your Endswitch add this.

ConsoleWrite($place&@lf)
$temp=IniRead(@DesktopDir & "\test.ini", "Cijfers", GUICtrlRead($vak1), "")
ConsoleWrite("Temp "&$temp&@lf)
$ss=StringSplit($temp,",")
If Not IsDeclared("sInputBoxAnswer") Then Local $sInputBoxAnswer
$sInputBoxAnswer = InputBox("what would you like to replace it with?","",""," ","-1","-1","-1","-1")
Select
    Case @Error = 0 
$ss[$place]=$sInputBoxAnswer
$new=""
for $ct=1 to $ss[0]
    $new&=$ss[$ct]&","
Next
$new=StringTrimRight($new,1)
MsgBox(0,"","New key "&$new,0)
EndSelect

changing your iniread back to what you want

Edited by Aceguy
Posted

Everything seems to work fine for now. Thanks to all who helped me with this. Special thanks to DaRam, Melba23 and AceGuy for helping me with almost every problem I have had. You're great!

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