Tools Links Login

Create and save into .txt files.

This will create and write into a *.txt file of your choice. Put this code in a timer and you have yourself a keystroke logger. You can save the contents of a textbox into a file also.

Original Author: Abdul Kudrath

Assumptions

Put this code in a button and it will save the contents of a textbox.

Code

' code for saving into a .txt file
' put into a button
open "path and filename" for append as 1
' example C:demo.txt
print #1, text1.text
close 1

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 96 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.