CODEPublic Sub SaveSettings() If Not bClear Then Exit Sub WriteINI "Channel", config.Channel.Text WriteINI "server", config.server.Text WriteINI "Name", config.Username.Text WriteINI "Pass", config.Pass.Text WriteINI "Client", config.Client.Text WriteINI "CDKey", config.CDKey.Text End Sub
and I have the WriteINI function defined as so :
CODEPublic Sub WriteINI(sKey As String, sValue As String) WritePrivateProfileString "General", sKey, sValue, App.Path & "\config.INI" End Sub
For some reason, it does not write to the ini, and I am pretty stumped on this one. Knowing me, it probably will turn out to be a stupid mistake, but if anyone would like to help me, I would appreciate it.
-Batch User



Help
Back to top








