Funcion Syntax problem
Public Function SetKey(ByRef strFilename As String, ByRef strSection As String, ByRef strKey As String, ByRef strValue As String)Set m_cIni = New cInifile
m_cIni.Path = strFilename
m_cIni.Section = strSection
m_cIni.Key = strKey
m_cIni.Value = strValue
If Not (m_cIni.Success) Then
frmMain.AddStatus "Failed to save value to INI-file :: " & strFilename & " | " & strSection & " | " & strKey & " = " & strValue
End If
Set m_cIni = Nothing
End Function
når jeg kalder den her funktion vil jeg skrive
Ini.SetKey(FileIni, "que", CleanStringToNick(strInput), "1")
men den VIL have et "= et_eller_andet" i slutningen
hvorfor ?
/Kenneth