Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display a Text file while writing to it...

Status
Not open for further replies.

estiguar

Programmer
Jan 27, 2003
10
GB
Hi there!
Does somebody know how I can open and display a text file on the desktop while writing to it from MS Access?
To write, I am using the "Open..Print#" statements, however, I haven't found out yet how to display the file...
Thanks!
Roberto
 
there are probably lots of ways to display a text file on the desktop. One way that comes to mind is to shell a copy of notepad with the text file.

However, until you close the text file, it probably has 0 length and nothing will show.

Another way would be to create a form in Access with an edit control. As you read lines from the text file, append the lines to the edit control, and refresh the form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top