469,167 Members | 1,292 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,167 developers. It's quick & easy.

Need program to display .txt file contents as a scrolling window

It's been 15 years since I did any Basic programming, so
I was wondering if I could get some help.

I want to display the contents of a .txt file in real-time
as the file is updated. I don't want to just copy the entire
contents, but only update the scrolling window with newly
added info which I can scroll back to see previous updates.

Anybody out there willing to take on this project?

Thanks

Big Fred

P.S. OS is Windows 2000
Jul 17 '05 #1
1 5936
On 8 Jan 2005 15:05:24 -0600, "- Just Me -" <---7--@-.tw> wrote:
It's been 15 years since I did any Basic programming, so
I was wondering if I could get some help.

I want to display the contents of a .txt file in real-time
as the file is updated. I don't want to just copy the entire
contents, but only update the scrolling window with newly
added info which I can scroll back to see previous updates.

Anybody out there willing to take on this project?

Thanks

Big Fred

P.S. OS is Windows 2000


Big Fred,
There are a number of details left out here (such as how the file will be
updated), but this may at least give you a starting point.

I used VB5 to try this out. Putting a Rich Text Box (RTB1) on Form1, I set the
scroll property for RTB1 to vertical, under Filename I entered
"C:\setuplog.txt" (the file just happened to be available).

The text file was shown in RTB1 even before I started the program, the window
does scroll and I can edit the text. Adding some code to save any changes
should be fairly easy.

Hope this at least gives you a starting point.

Val Mehling
valjm16@DELETE_THISearthlink.net

XRL (Extreme Racing League) Info
http://extremeracingleague.com/
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mike S. Nowostawsky | last post: by
1 post views Thread by Tony Johansson | last post: by
1 post views Thread by dabbakal | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.