Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic Notes / Log / Diary
#1
Author: ? (unknown)
Difficulty: 1/5

:: CLIENT SIDE ::
On frmMirage, make a pictureBox called picKeepNotes, and a button called KeepNotes. Add:
Code:
Private Sub KeepNotes_Click()
picKeepNotes.Visible = True
End Sub

Make a txtbox named Notetext on picture, and 2 buttons. Add:
Code:
Private Sub Save_Click()
Dim iFileNum As Integer

'Get a free file handle
iFileNum = FreeFile

'If the file is not there, one will be created
'If the file does exist, this one will
'overwrite it.
Open App.Path & "\notes.txt" For Output As iFileNum

Print #iFileNum, Notetext.Text

Close iFileNum

End Sub

Private Sub Close_Click()
picKeepNotes.Visible = False
End Sub
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)