well about saving changes to a .txt file
i think it will be as the following but
vb
System.IO.File.WriteAllText("c:\Documents and Settings\Administrator\Desktop\New Microsoft Office Word Document.doc", ???)
what will i type instead of ???
there will be many things or i will use
vb
if checkbox1.checked=true then
System.IO.File.WriteAllText("c:\Documents and Settings\Administrator\Desktop\New Microsoft Office Word Document.doc", chechbox1.text+" is done")
else if
if checkbox1.checked .......................................................................................................
it will be so boaring
i know i will use
vb
Public Class Form1
Private Sub Form1_close(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles MyBase.FormClosed
'the code here'
End Sub
End Class
but how can i simply open the form ,check some boxes,open it a gain and the changes are saved,and i want also to be able to change the text in the checkboxes and a timer to tell me when something comes i think i will take care of the timer
vb
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If Now.DayOfWeek = DayOfWeek.Thursday And Now.Hour = 16 And Now.Minute = 24 And Now.Second = 0 Then
My.Computer.Audio.Play("'wav file location'")
End If
End Sub
now i can take care of the timer,what about saving the changing in the textboxes and the text in them ?
i hope somebody can help me with this
and i didn't understand that part of saving the file to database or ini file cuz i don't have enough experience yet to do these things