Mér vantar hjálp með vb 2008 að lesa .ini files.
Er að gera nokkrar flipp tilraunir með Login system os.frv.
Register kóðinn :
Dim savef As New System.IO.StreamWriter("c:/LoginRegister.ini") savef.Write(txtPassword.Text) savef.Close()
OpenFile Kóðinn :
Dim OpenFile As New OpenFileDialog OpenFile.FileName = "" OpenFile.Filter = "Initialization (*.ini)|*.ini" OpenFile.Title = "Open" OpenFile.ShowDialog() Try Dim Read As New System.IO.StreamReader(OpenFile.FileName) txtUsername.Text = Read.ReadToEnd Read.Close() Catch ex As Exception End Try
Nú vantar mig hjálp að lesa .ini fileið inná txtUsername(textbox1.text)
^^
takk.