VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Create and save into .txt files.

by Abdul Kudrath (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (7 Votes)

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.

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

Rate Create and save into .txt files.

' 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

Download this snippet    Add to My Saved Code

Create and save into .txt files. Comments

No comments have been posted about Create and save into .txt files.. Why not be the first to post a comment about Create and save into .txt files..

Post your comment

Subject:
Message:
0/1000 characters